8000 Update ndarray argmax-argmin docstring with correct keyword and defau… · rjeb/numpy@51a5bd5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 51a5bd5

Browse files
authored
Update ndarray argmax-argmin docstring with correct keyword and default parameter
1 parent ce98578 commit 51a5bd5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

numpy/core/_add_newdocs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2943,7 +2943,7 @@
29432943

29442944
add_newdoc('numpy.core.multiarray', 'ndarray', ('argmax',
29452945
"""
2946-
a.argmax(axis=None, out=None, keepdims=<no value>)
2946+
a.argmax(axis=None, out=None, *, keepdims=False)
29472947
29482948
Return indices of the maximum values along the given axis.
29492949
@@ -2958,7 +2958,7 @@
29582958

29592959
add_newdoc('numpy.core.multiarray', 'ndarray', ('argmin',
29602960
"""
2961-
a.argmin(axis=None, out=None, keepdims=<no value>)
2961+
a.argmin(axis=None, out=None, *, keepdims=False)
29622962
29632963
Return indices of the minimum values along the given axis.
29642964

0 commit comments

Comments
 (0)
0