summaryrefslogtreecommitdiff
path: root/numpy/array_api
diff options
context:
space:
mode:
authorBas van Beek <43369155+BvB93@users.noreply.github.com>2021-06-24 17:47:52 +0200
committerBas van Beek <43369155+BvB93@users.noreply.github.com>2021-06-24 17:49:40 +0200
commit1fe600c15c7e988ecde323a5807f11f5703567eb (patch)
tree32bd61e455b5689f533a9c2a133d99653451f5b3 /numpy/array_api
parent9b192570661d55575606f2a77a7bc9e280120f5c (diff)
downloadnumpy-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')
0 files changed, 0 insertions, 0 deletions