From 8ec4c73e9e9268e0c9e42ed000799f32b92745e8 Mon Sep 17 00:00:00 2001 From: Dan Allan Date: Sat, 24 Aug 2019 14:08:15 -0400 Subject: DOC: Fix a minor typo in dispatch documentation. --- numpy/doc/dispatch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/doc') 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 ... -- cgit v1.2.1