summaryrefslogtreecommitdiff
path: root/numpy/add_newdocs.py
diff options
context:
space:
mode:
authorStefan van der Walt <stefan@sun.ac.za>2006-10-10 23:17:54 +0000
committerStefan van der Walt <stefan@sun.ac.za>2006-10-10 23:17:54 +0000
commit7147b21ea8483ce6ce2ed3474e23136bb1043913 (patch)
tree45e3e02304f59e710784342888b788807e8bf9ad /numpy/add_newdocs.py
parentf52ca5b51b089962f3870107b2a6b8ccdcae2286 (diff)
downloadnumpy-7147b21ea8483ce6ce2ed3474e23136bb1043913.tar.gz
Fidget with average/mean docstrings.
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.;