summaryrefslogtreecommitdiff
path: root/numpy/array_api/_creation_functions.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2022-05-31 12:55:33 -0700
committerSebastian Berg <sebastian@sipsolutions.net>2022-06-15 11:42:02 -0700
commitb148b0f3c38e8d6ef5b714fb5bdd2fad09e7eb10 (patch)
treec14e910c6703a77fae18c953306dde9db27f104f /numpy/array_api/_creation_functions.py
parent419bec8e0440c5eda60c540cd21081349430db7d (diff)
downloadnumpy-b148b0f3c38e8d6ef5b714fb5bdd2fad09e7eb10.tar.gz
MAINT: Add stricter subclass check
The issue is that bools are subclasses of ints, which triggers the more general problem that we cannot use the `int` abstract dtype if the input has a concrete dtype associated (e.g. bools, but also general user defined DTypes in principle)
Diffstat (limited to 'numpy/array_api/_creation_functions.py')
0 files changed, 0 insertions, 0 deletions