diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-08-08 07:49:10 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-08-08 07:49:10 +0000 |
commit | 3e3dd665d89496da053f76f120d504e9f1bf1699 (patch) | |
tree | 46d7ffc835856c2520958562081fdbf67a476dd4 /numpy/numarray/alter_code1.py | |
parent | 50a50441a148a9ea3fbc1629e065d88a4f28a419 (diff) | |
download | numpy-3e3dd665d89496da053f76f120d504e9f1bf1699.tar.gz |
Add numarray compatibility.
Diffstat (limited to 'numpy/numarray/alter_code1.py')
-rw-r--r-- | numpy/numarray/alter_code1.py | 2 |
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() |