From e116574cde770234beffaf2be6cd542472679313 Mon Sep 17 00:00:00 2001 From: Travis Oliphant Date: Tue, 25 Jul 2006 17:17:08 +0000 Subject: Fix-up convertcode and CAPI docs --- numpy/lib/convertcode.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'numpy/lib/convertcode.py') 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) -- cgit v1.2.1