summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--numpy/core/fromnumeric.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/fromnumeric.py b/numpy/core/fromnumeric.py
index 6e6b6730c..9e58d9bea 100644
--- a/numpy/core/fromnumeric.py
+++ b/numpy/core/fromnumeric.py
@@ -804,8 +804,8 @@ def argpartition(a, kth, axis=-1, kind='introselect', order=None):
index_array : ndarray, int
Array of indices that partition `a` along the specified axis.
If `a` is one-dimensional, ``a[index_array]`` yields a partitioned `a`.
- More generally, ``np.take_along_axis(a, index_array, axis=a)`` always
- yields the partitioned `a`, irrespective of dimensionality.
+ More generally, ``np.take_along_axis(a, index_array, axis)``
+ always yields the partitioned `a`, irrespective of dimensionality.
See Also
--------