diff options
author | Ralf Gommers <ralf.gommers@gmail.com> | 2017-06-10 15:56:14 +1200 |
---|---|---|
committer | Ralf Gommers <ralf.gommers@gmail.com> | 2017-06-10 18:19:17 +1200 |
commit | 34075a54e7aa10e80d41ef33ec7102292ecff0d5 (patch) | |
tree | 537ce22035ad4a22e7eba29720124b5eb82d4574 /numpy/doc/subclassing.py | |
parent | fa913a8ea6a8b363962dec6d656049a1371b53d9 (diff) | |
download | numpy-34075a54e7aa10e80d41ef33ec7102292ecff0d5.tar.gz |
DOC: BLD: fix lots of Sphinx warnings/errors.
Diffstat (limited to 'numpy/doc/subclassing.py')
-rw-r--r-- | numpy/doc/subclassing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/doc/subclassing.py b/numpy/doc/subclassing.py index 51d9dc120..c34278868 100644 --- a/numpy/doc/subclassing.py +++ b/numpy/doc/subclassing.py @@ -543,7 +543,7 @@ will be called, but now it sees an ``ndarray`` as the other argument. Likely, it will know how to handle this, and return a new instance of the ``B`` class to us. Our example class is not set up to handle this, but it might well be the best approach if, e.g., one were to re-implement ``MaskedArray`` using - ``__array_ufunc__``. +``__array_ufunc__``. As a final note: if the ``super`` route is suited to a given class, an advantage of using it is that it helps in constructing class hierarchies. |