summaryrefslogtreecommitdiff
path: root/numpy/add_newdocs.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/add_newdocs.py')
-rw-r--r--numpy/add_newdocs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/add_newdocs.py b/numpy/add_newdocs.py
index a7e7138af..c69615ba1 100644
--- a/numpy/add_newdocs.py
+++ b/numpy/add_newdocs.py
@@ -828,7 +828,7 @@ add_newdoc('numpy.core.multiarray', 'ndarray', ('mean',
Average the array over the given axis. If the axis is None,
average over all dimensions of the array. Equivalent to
- a.sum(axis, dtype) * 1.0 / size(a, axis).
+ a.sum(axis, dtype) / size(a, axis).
The optional dtype argument is the data type for intermediate
calculations in the sum.;