diff options
Diffstat (limited to 'numpy/lib/convertcode.py')
-rw-r--r-- | numpy/lib/convertcode.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/convertcode.py b/numpy/lib/convertcode.py index 6a62f2502..3e0a679f0 100644 --- a/numpy/lib/convertcode.py +++ b/numpy/lib/convertcode.py @@ -61,7 +61,7 @@ def changeimports(fstr, name, newname): return fstr, fromall def replaceattr(astr): - astr = astr.replace(".typecode()",".dtypechar") + astr = astr.replace(".typecode()",".dtype.char") astr = astr.replace(".iscontiguous()",".flags.contiguous") astr = astr.replace(".byteswapped()",".byteswap()") astr = astr.replace(".toscalar()", ".item()") |