diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-06-12 22:58:43 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-06-12 22:58:43 +0000 |
commit | fbf0b479604c22e60215bb28cdedabfb821b9d75 (patch) | |
tree | ff1c02a4a21aec9998b57d7aff01a34573aa21c2 /numpy/lib/convertcode.py | |
parent | b5e35c7c5c715d58aca9638e40098d044b8b8dba (diff) | |
download | numpy-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.py | 4 |
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') |