summaryrefslogtreecommitdiff
path: root/numpy/lib/function_base.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/lib/function_base.py')
-rw-r--r--numpy/lib/function_base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py
index 5bcd3a443..f13736f2a 100644
--- a/numpy/lib/function_base.py
+++ b/numpy/lib/function_base.py
@@ -1150,11 +1150,11 @@ def delete(arr, obj, axis=None):
[1,2,3],
[6,7,8]]
- >>> deletefrom(arr, 1, 1)
+ >>> delete(arr, 1, 1)
array([[3,5],
[1,3],
[6,8])
- >>> deletefrom(arr, 1, 0)
+ >>> delete(arr, 1, 0)
array([[3,4,5],
[6,7,8]])
"""