From 44b8093162207cf82143b58d9cdf5a2af7ed0731 Mon Sep 17 00:00:00 2001 From: Travis Oliphant Date: Thu, 17 Aug 2006 22:03:38 +0000 Subject: Fix ticket #252 --- numpy/oldnumeric/alter_code1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/oldnumeric/alter_code1.py') 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 -- cgit v1.2.1