summaryrefslogtreecommitdiff
path: root/numpy/array_api/_searching_functions.py
diff options
context:
space:
mode:
authorDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>2021-09-22 01:45:57 +0200
committerDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>2021-09-28 11:26:44 +0200
commitcbfa658684d7e40005b9bcb84bd11838349366cb (patch)
treecb66ff9e2c801368cb9114b87df804ab059c4cf1 /numpy/array_api/_searching_functions.py
parente874e1319b0b6f885886bf12b36b7869624edb5c (diff)
downloadnumpy-cbfa658684d7e40005b9bcb84bd11838349366cb.tar.gz
MAINT: Fix typo in public API
By keeping both variants of the keyowrd parameter, we achieve backwards compatibility. The old mispelled variant has been removed from the documentation, the new variant does appear in the documentation and using noth variants raises a TypeError. Additionally, the old variant can only be used as a keyword argument, not as a positional argument. Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Diffstat (limited to 'numpy/array_api/_searching_functions.py')
0 files changed, 0 insertions, 0 deletions