diff options
author | Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> | 2021-09-22 01:45:57 +0200 |
---|---|---|
committer | Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> | 2021-09-28 11:26:44 +0200 |
commit | cbfa658684d7e40005b9bcb84bd11838349366cb (patch) | |
tree | cb66ff9e2c801368cb9114b87df804ab059c4cf1 /numpy/array_api/tests/test_array_object.py | |
parent | e874e1319b0b6f885886bf12b36b7869624edb5c (diff) | |
download | numpy-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/tests/test_array_object.py')
0 files changed, 0 insertions, 0 deletions