diff options
author | Dan Allan <dallan@bnl.gov> | 2019-08-24 14:08:15 -0400 |
---|---|---|
committer | Dan Allan <dallan@bnl.gov> | 2019-08-24 14:08:15 -0400 |
commit | 8ec4c73e9e9268e0c9e42ed000799f32b92745e8 (patch) | |
tree | 25fa1687772361b253c203242935cedeed139aa6 /numpy | |
parent | f7f87596aee84daba42d90736af2eeb740eb14f7 (diff) | |
download | numpy-8ec4c73e9e9268e0c9e42ed000799f32b92745e8.tar.gz |
DOC: Fix a minor typo in dispatch documentation.
Diffstat (limited to 'numpy')
-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 ... |