summaryrefslogtreecommitdiff
path: root/numpy/lib/convertcode.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-07-25 17:17:08 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-07-25 17:17:08 +0000
commite116574cde770234beffaf2be6cd542472679313 (patch)
tree79433c0893957ffcdc0c5b392da4dc76be75e7c3 /numpy/lib/convertcode.py
parent0adda1b2ab591010396559c1da5c062797b7775a (diff)
downloadnumpy-e116574cde770234beffaf2be6cd542472679313.tar.gz
Fix-up convertcode and CAPI docs
Diffstat (limited to 'numpy/lib/convertcode.py')
-rw-r--r--numpy/lib/convertcode.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/numpy/lib/convertcode.py b/numpy/lib/convertcode.py
index b70f83a33..b9352cd43 100644
--- a/numpy/lib/convertcode.py
+++ b/numpy/lib/convertcode.py
@@ -31,7 +31,6 @@ flatindex_re = re.compile('([.]flat(\s*?[[=]))')
# Not very safe. Disabled for now..
def replacetypechars(astr):
astr = astr.replace("'s'","'h'")
- astr = astr.replace("'c'","'S1'")
astr = astr.replace("'b'","'B'")
astr = astr.replace("'1'","'b'")
astr = astr.replace("'w'","'H'")
@@ -108,7 +107,7 @@ def fromstr(filestr):
filestr, fromall3 = changeimports(filestr, 'RNG', 'numpy.random.oldrng')
filestr, fromall3 = changeimports(filestr, 'RNG.Statistics', 'numpy.random.oldrngstats')
filestr, fromall3 = changeimports(filestr, 'RandomArray', 'numpy.random.oldrandomarray')
- filestr, fromall3 = changeimports(filestr, 'FFT', 'numpy.dft.oldfft')
+ filestr, fromall3 = changeimports(filestr, 'FFT', 'numpy.dft.old')
filestr, fromall3 = changeimports(filestr, 'MA', 'numpy.core.ma')
fromall = fromall1 or fromall2 or fromall3
filestr = replaceattr(filestr)