summaryrefslogtreecommitdiff
path: root/numpy/lib/function_base.py
diff options
context:
space:
mode:
authorAllan Haldane <ealloc@gmail.com>2018-12-27 02:14:39 -0500
committerGitHub <noreply@github.com>2018-12-27 02:14:39 -0500
commite6970fd7e4c06c8fea19ed4c927b2918dccd6801 (patch)
tree46484cdca826e03eca6f2fa49ca59d425bf0a203 /numpy/lib/function_base.py
parent4adf52ebde53e01a0b1ed7509b0add6ac4575044 (diff)
parent4c4ac5cd8f760446169336b92a5db3c92e787559 (diff)
downloadnumpy-e6970fd7e4c06c8fea19ed4c927b2918dccd6801.tar.gz
Merge pull request #12601 from abdurrehman11/numpy-delete-docs
DOC: Correct documentation of `numpy.delete` obj parameter.
Diffstat (limited to 'numpy/lib/function_base.py')
-rw-r--r--numpy/lib/function_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py
index 1ead375de..274f957db 100644
--- a/numpy/lib/function_base.py
+++ b/numpy/lib/function_base.py
@@ -4241,7 +4241,7 @@ def delete(arr, obj, axis=None):
arr : array_like
Input array.
obj : slice, int or array of ints
- Indicate which sub-arrays to remove.
+ Indicate indices of sub-arrays to remove along the specified axis.
axis : int, optional
The axis along which to delete the subarray defined by `obj`.
If `axis` is None, `obj` is applied to the flattened array.