summaryrefslogtreecommitdiff
path: root/numpy/add_newdocs.py
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2016-10-23 17:29:20 +0100
committerEric Wieser <wieser.eric@gmail.com>2017-06-01 15:36:06 +0100
commitf44ef180a77245bcaba1b17eeb213e9730bc0884 (patch)
tree37fe14b9328ee71fc5811d6dc078c0423a888d6d /numpy/add_newdocs.py
parent7a5c3a84f2f79f94d99a13f1c3158fa372a337d7 (diff)
downloadnumpy-f44ef180a77245bcaba1b17eeb213e9730bc0884.tar.gz
API: Remove the keepdims argument to 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 05fb73df4..39a4783d4 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
-------