diff options
author | Matti Picus <matti.picus@gmail.com> | 2019-08-24 22:04:05 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-24 22:04:05 +0300 |
commit | 77b421d271ecb5cbdb6c118389a6141f7d1a1998 (patch) | |
tree | d468dfddea6d715d05fed5227babbec1897f2e54 | |
parent | 989efb824b533765a572ada533a9ee50bf307123 (diff) | |
parent | 8ec4c73e9e9268e0c9e42ed000799f32b92745e8 (diff) | |
download | numpy-77b421d271ecb5cbdb6c118389a6141f7d1a1998.tar.gz |
Merge pull request #14351 from danielballan/doc-typo
DOC: Fix a minor typo in dispatch documentation.
-rw-r--r-- | numpy/doc/dispatch.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/doc/dispatch.py b/numpy/doc/dispatch.py index 8db607131..c9029941b 100644 --- a/numpy/doc/dispatch.py +++ b/numpy/doc/dispatch.py @@ -223,7 +223,7 @@ calls ``numpy.sum(self)``, and the same for ``mean``. ... return arr._i * arr._N ... >>> @implements(np.mean) -... def sum(arr): +... def mean(arr): ... "Implementation of np.mean for DiagonalArray objects" ... return arr._i / arr._N ... |