summaryrefslogtreecommitdiff
path: root/numpy/doc/subclassing.py
diff options
context:
space:
mode:
authorMatthew Brett <matthew.brett@gmail.com>2009-07-23 04:19:20 +0000
committerMatthew Brett <matthew.brett@gmail.com>2009-07-23 04:19:20 +0000
commitc3c126b0dcab4801751e8ce3dd5f578730287b57 (patch)
tree4ba17987ab40d8b956aaeee6ba4c06880e4d73df /numpy/doc/subclassing.py
parent402892136e416a7aabe33044b05c06b945b8235c (diff)
downloadnumpy-c3c126b0dcab4801751e8ce3dd5f578730287b57.tar.gz
and more tiny doc typos
Diffstat (limited to 'numpy/doc/subclassing.py')
-rw-r--r--numpy/doc/subclassing.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/numpy/doc/subclassing.py b/numpy/doc/subclassing.py
index 52059d197..257f951ce 100644
--- a/numpy/doc/subclassing.py
+++ b/numpy/doc/subclassing.py
@@ -471,7 +471,7 @@ we wanted:
So, by defining a specific ``__array_wrap__`` method for our subclass,
we can tweak the output from ufuncs. The ``__array_wrap__`` method
-requires ``self``, then an argument - which is the result of the ufunc,
+requires ``self``, then an argument - which is the result of the ufunc -
and an optional parameter *context*. This parameter is returned by some
ufuncs as a 3-element tuple: (name of the ufunc, argument of the ufunc,
domain of the ufunc). ``__array_wrap__`` should return an instance of
@@ -516,6 +516,5 @@ the original array is deleted, but not the views. For an example of
how this can work, have a look at the ``memmap`` class in
``numpy.core``.
-.. _Python __new__:
"""