summaryrefslogtreecommitdiff
path: root/numpy/lib/convertcode.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-01-04 19:00:27 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-01-04 19:00:27 +0000
commite706c7d92c4ee41e8e995fb3838bd0931b57efb5 (patch)
tree015a057d49422774e49ed211a37c14105d03a713 /numpy/lib/convertcode.py
parentc14d4fe25cb5cd482369734dd487ac8f376851c9 (diff)
downloadnumpy-e706c7d92c4ee41e8e995fb3838bd0931b57efb5.tar.gz
Changed all references to scipy to numpy
Diffstat (limited to 'numpy/lib/convertcode.py')
-rw-r--r--numpy/lib/convertcode.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/lib/convertcode.py b/numpy/lib/convertcode.py
index aba998f78..6e590fa25 100644
--- a/numpy/lib/convertcode.py
+++ b/numpy/lib/convertcode.py
@@ -1,5 +1,5 @@
-# This module converts code written for Numeric to run with scipy.base
+# This module converts code written for Numeric to run with numpy.base
# Makes the following changes:
# * Converts typecharacters
@@ -97,7 +97,7 @@ def fromstr(filestr):
'numpy.core.umath')
filestr, fromall1 = changeimports(filestr, 'Precision', 'numpy.core')
filestr, fromall2 = changeimports(filestr, 'numerix', 'numpy.core')
- filestr, fromall3 = changeimports(filestr, 'scipy_base', 'numpy.core')
+ filestr, fromall3 = changeimports(filestr, 'numpy_base', 'numpy.core')
filestr, fromall3 = changeimports(filestr, 'MLab', 'numpy.core.mlab')
filestr, fromall3 = changeimports(filestr, 'LinearAlgebra', 'numpy.linalg')
filestr, fromall3 = changeimports(filestr, 'RNG', 'numpy.random')
@@ -110,7 +110,7 @@ def fromstr(filestr):
today = datetime.date.today().strftime('%b %d, %Y')
name = os.path.split(sys.argv[0])[-1]
filestr = '## Automatically adapted for '\
- 'scipy %s by %s\n\n%s' % (today, name, filestr)
+ 'numpy %s by %s\n\n%s' % (today, name, filestr)
return filestr
def makenewfile(name, filestr):