diff options
author | Matthew Brett <matthew.brett@gmail.com> | 2009-07-23 02:22:41 +0000 |
---|---|---|
committer | Matthew Brett <matthew.brett@gmail.com> | 2009-07-23 02:22:41 +0000 |
commit | aeb8d581f1205b3f9a1d0267cf85d559b5300e9c (patch) | |
tree | a2f8cb74fab26bd71e1dd3765f8593fe47924a62 /numpy/doc/subclassing.py | |
parent | 53cd4c5655d983a3ec44ffc77be3859966e76c00 (diff) | |
download | numpy-aeb8d581f1205b3f9a1d0267cf85d559b5300e9c.tar.gz |
Tiny doc rearrangement
Diffstat (limited to 'numpy/doc/subclassing.py')
-rw-r--r-- | numpy/doc/subclassing.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/doc/subclassing.py b/numpy/doc/subclassing.py index d14ee9294..807ee0555 100644 --- a/numpy/doc/subclassing.py +++ b/numpy/doc/subclassing.py @@ -330,10 +330,10 @@ Using the object looks like this: >>> cast_arr.info is None True -This class isn't very useful, because it has the same constructor as -the bare ndarray object, including passing in buffers and shapes and -so on. We would probably prefer to be able to take an already formed -ndarray from the usual numpy calls to ``np.array`` and return an +This class isn't very useful, because it has the same constructor as the +bare ndarray object, including passing in buffers and shapes and so on. +We would probably prefer the constructor to be able to take an already +formed ndarray from the usual numpy calls to ``np.array`` and return an object. Slightly more realistic example - attribute added to existing array |