summaryrefslogtreecommitdiff
path: root/numpy/doc/ufuncs.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/doc/ufuncs.py')
-rw-r--r--numpy/doc/ufuncs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/doc/ufuncs.py b/numpy/doc/ufuncs.py
index 4819e5268..d6a1cd62a 100644
--- a/numpy/doc/ufuncs.py
+++ b/numpy/doc/ufuncs.py
@@ -82,7 +82,7 @@ array. A couple examples: ::
>>> np.add.accumulate(np.arange(10))
array([ 0, 1, 3, 6, 10, 15, 21, 28, 36, 45])
- >>> np.multiply.accumulate(np.arange(1,9))
+ >>> np.multiply.accumulate(np.arange(1,9))
array([ 1, 2, 6, 24, 120, 720, 5040, 40320])
The behavior for multidimensional arrays is the same as for .reduce(), as is the use of the axis keyword).