summaryrefslogtreecommitdiff
path: root/scipy/base/convertcode.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2005-12-13 20:47:46 +0000
committerTravis Oliphant <oliphant@enthought.com>2005-12-13 20:47:46 +0000
commit7bac5ddfcbe1c53f776b2b33d2a8def6279d176f (patch)
tree4cb22f77d84a6db45f97b48987a50825efbc8008 /scipy/base/convertcode.py
parentc2f71bcff52ae5b81e31ac33d5ccd04efa10f202 (diff)
downloadnumpy-7bac5ddfcbe1c53f776b2b33d2a8def6279d176f.tar.gz
Changed the scipy.pxi file in non-essential ways but since it will probably be a reference I figured it might as well look right.
Diffstat (limited to 'scipy/base/convertcode.py')
-rw-r--r--scipy/base/convertcode.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scipy/base/convertcode.py b/scipy/base/convertcode.py
index 837d9bd7b..4040ded59 100644
--- a/scipy/base/convertcode.py
+++ b/scipy/base/convertcode.py
@@ -73,7 +73,7 @@ def changeimports(fstr, name, newname):
def replaceattr(astr):
astr = astr.replace(".typecode()",".dtypechar")
- astr = astr.replace(".iscontiguous()",".flags['CONTIGUOUS']")
+ astr = astr.replace(".iscontiguous()",".flags.contiguous")
astr = astr.replace(".byteswapped()",".byteswap()")
astr = astr.replace(".itemsize()",".itemsize")