summaryrefslogtreecommitdiff
path: root/numpy/lib/convertcode.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-06-12 22:58:43 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-06-12 22:58:43 +0000
commitfbf0b479604c22e60215bb28cdedabfb821b9d75 (patch)
treeff1c02a4a21aec9998b57d7aff01a34573aa21c2 /numpy/lib/convertcode.py
parentb5e35c7c5c715d58aca9638e40098d044b8b8dba (diff)
downloadnumpy-fbf0b479604c22e60215bb28cdedabfb821b9d75.tar.gz
Check-in name-space changes so that numpy.oldnumeric is the compatibility module and numpy does not contain all of the names.
Diffstat (limited to 'numpy/lib/convertcode.py')
-rw-r--r--numpy/lib/convertcode.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/convertcode.py b/numpy/lib/convertcode.py
index d45bd2fe3..b58e56b78 100644
--- a/numpy/lib/convertcode.py
+++ b/numpy/lib/convertcode.py
@@ -91,12 +91,12 @@ def replaceother(astr):
import datetime
def fromstr(filestr):
filestr = replacetypechars(filestr)
- filestr, fromall1 = changeimports(filestr, 'Numeric', 'numpy')
+ filestr, fromall1 = changeimports(filestr, 'Numeric', 'numpy.oldnumeric')
filestr, fromall1 = changeimports(filestr, 'multiarray',
'numpy.core.multiarray')
filestr, fromall1 = changeimports(filestr, 'umath',
'numpy.core.umath')
- filestr, fromall1 = changeimports(filestr, 'Precision', 'numpy')
+ filestr, fromall1 = changeimports(filestr, 'Precision', 'numpy.oldnumeric')
filestr, fromall2 = changeimports(filestr, 'numerix', 'numpy')
filestr, fromall3 = changeimports(filestr, 'scipy_base', 'numpy')
filestr, fromall3 = changeimports(filestr, 'MLab', 'numpy.lib.mlab')