diff options
Diffstat (limited to 'numpy/doc/dispatch.py')
-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 ... |