diff options
author | Bas van Beek <43369155+BvB93@users.noreply.github.com> | 2021-06-24 17:47:52 +0200 |
---|---|---|
committer | Bas van Beek <43369155+BvB93@users.noreply.github.com> | 2021-06-24 17:49:40 +0200 |
commit | 1fe600c15c7e988ecde323a5807f11f5703567eb (patch) | |
tree | 32bd61e455b5689f533a9c2a133d99653451f5b3 /numpy/array_api/tests | |
parent | 9b192570661d55575606f2a77a7bc9e280120f5c (diff) | |
download | numpy-1fe600c15c7e988ecde323a5807f11f5703567eb.tar.gz |
MAINT: Replace `"dtype[Any]"` with `dtype` in the definiton of `npt.ArrayLike`
Strings and types that are not subscriptable during runtime can cause issues with runtime Introspection helpers such as `typing.get_type_hints`.
While this is very much an upstream issue, the particular case of `npt.ArrayLike` can be quite easily resolved in numpy.
Diffstat (limited to 'numpy/array_api/tests')
0 files changed, 0 insertions, 0 deletions