summaryrefslogtreecommitdiff
path: root/numpy/numarray/alter_code1.py
diff options
context:
space:
mode:
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()