diff options
author | Bas van Beek <43369155+BvB93@users.noreply.github.com> | 2020-07-31 06:42:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-30 21:42:13 -0700 |
commit | b66f02bed6380f6f88a21adf77ca4ce54e4a9052 (patch) | |
tree | eb36f4508e1743812eefea5db598dc5e8d2d6a2f /numpy/array_api/tests/test_indexing_functions.py | |
parent | e7c1d015255675c616fc20dc33590ccb1d1d3e1e (diff) | |
download | numpy-b66f02bed6380f6f88a21adf77ca4ce54e4a9052.tar.gz |
MAINT: Implemented two dtype-related TODO's (#16622)
This pull requests addresses and implement two previous TODO's in `np.typing._DTypeLike`:
* Added a protocol, `_SupportsDtype`, for objects with the `dtype` attribute.
* Replaced an old dictionary, representing array field parameter, with a `TypedDict`.
Diffstat (limited to 'numpy/array_api/tests/test_indexing_functions.py')
0 files changed, 0 insertions, 0 deletions