summaryrefslogtreecommitdiff
path: root/numpy/add_newdocs.py
diff options
context:
space:
mode:
authorMarten van Kerkwijk <mhvk@astro.utoronto.ca>2017-06-01 11:00:49 -0400
committerGitHub <noreply@github.com>2017-06-01 11:00:49 -0400
commitf6822b41f84c9b5f68bd3ebbb2c32af184438f10 (patch)
treed28aaa408dd08a1f1e7668c8c475fe2b245aca33 /numpy/add_newdocs.py
parent2f5721be9aabbf6b3ba03bbbeff9650fd441a08a (diff)
parentf44ef180a77245bcaba1b17eeb213e9730bc0884 (diff)
downloadnumpy-f6822b41f84c9b5f68bd3ebbb2c32af184438f10.tar.gz
Merge pull request #8187 from eric-wieser/accumulate-no-keepdim
MAINT: Remove the unused keepdim argument from np.ufunc.accumulate
Diffstat (limited to 'numpy/add_newdocs.py')
-rw-r--r--numpy/add_newdocs.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/numpy/add_newdocs.py b/numpy/add_newdocs.py
index a956440cd..de80affd2 100644
--- a/numpy/add_newdocs.py
+++ b/numpy/add_newdocs.py
@@ -5719,7 +5719,7 @@ add_newdoc('numpy.core', 'ufunc', ('reduce',
add_newdoc('numpy.core', 'ufunc', ('accumulate',
"""
- accumulate(array, axis=0, dtype=None, out=None, keepdims=None)
+ accumulate(array, axis=0, dtype=None, out=None)
Accumulate the result of applying the operator to all elements.
@@ -5756,8 +5756,6 @@ add_newdoc('numpy.core', 'ufunc', ('accumulate',
.. versionchanged:: 1.13.0
Tuples are allowed for keyword argument.
- keepdims : bool
- Has no effect. Deprecated, and will be removed in future.
Returns
-------