summaryrefslogtreecommitdiff
path: root/numpy/oldnumeric/alter_code1.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-08-17 22:03:38 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-08-17 22:03:38 +0000
commit44b8093162207cf82143b58d9cdf5a2af7ed0731 (patch)
treec92ee83e5f4f573d9ab672ad9996222bd7bebdc8 /numpy/oldnumeric/alter_code1.py
parent647505516a3adb0c30d84fa2219cf33870cb0d75 (diff)
downloadnumpy-44b8093162207cf82143b58d9cdf5a2af7ed0731.tar.gz
Fix ticket #252
Diffstat (limited to 'numpy/oldnumeric/alter_code1.py')
-rw-r--r--numpy/oldnumeric/alter_code1.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/oldnumeric/alter_code1.py b/numpy/oldnumeric/alter_code1.py
index eacd3ed2a..2da1e8582 100644
--- a/numpy/oldnumeric/alter_code1.py
+++ b/numpy/oldnumeric/alter_code1.py
@@ -64,7 +64,7 @@ for char in _chars.keys():
def fixtypechars(fstr):
for name in _func2 + _func4 + _meth1:
- fstr = func2_re[name].sub('\\1B\\2',fstr)
+ fstr = func_re[name].sub('\\1B\\2',fstr)
for char in _chars.keys():
fstr = meth_re[char].sub('\\1%s\\2'%_chars[char], fstr)
return fstr