diff options
Diffstat (limited to 'numpy/oldnumeric/compat.py')
-rw-r--r-- | numpy/oldnumeric/compat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/oldnumeric/compat.py b/numpy/oldnumeric/compat.py index 98a7f9259..42a98631f 100644 --- a/numpy/oldnumeric/compat.py +++ b/numpy/oldnumeric/compat.py @@ -56,7 +56,7 @@ def array_constructor(shape, typecode, thestr, Endian=LittleEndian): x = mu.fromstring(thestr, typecode) x.shape = shape if LittleEndian != Endian: - return x.byteswap(TRUE) + return x.byteswap(True) else: return x |