summaryrefslogtreecommitdiff
path: root/numpy/numarray/alter_code1.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-08-08 07:49:10 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-08-08 07:49:10 +0000
commit3e3dd665d89496da053f76f120d504e9f1bf1699 (patch)
tree46d7ffc835856c2520958562081fdbf67a476dd4 /numpy/numarray/alter_code1.py
parent50a50441a148a9ea3fbc1629e065d88a4f28a419 (diff)
downloadnumpy-3e3dd665d89496da053f76f120d504e9f1bf1699.tar.gz
Add numarray compatibility.
Diffstat (limited to 'numpy/numarray/alter_code1.py')
-rw-r--r--numpy/numarray/alter_code1.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/numarray/alter_code1.py b/numpy/numarray/alter_code1.py
index 07b74ada7..259672b76 100644
--- a/numpy/numarray/alter_code1.py
+++ b/numpy/numarray/alter_code1.py
@@ -28,7 +28,7 @@ Makes the following changes:
- self.new(type) --> empty(self.shape, type)
- .repeat(r) --> .repeat(r, axis=0)
- .size() --> .size
- - .type() -- numarray.type(self.dtype)
+ - .type() -- numarray.typefrom(self)
- .typecode() --> .dtype.char
- .stddev() --> .std()
- .togglebyteorder() --> self.dtype=self.dtype.newbyteorder()