summaryrefslogtreecommitdiff
path: root/numpy/array_api/_array_object.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2020-07-11 16:24:38 -0500
committerSebastian Berg <sebastian@sipsolutions.net>2020-11-12 12:13:04 -0600
commitf165623752a2de2013be627803fc19d734c2650a (patch)
tree172d94dc9dd6472a1ac24d911d8dd9d688f8dd86 /numpy/array_api/_array_object.py
parent44d66b8a3fbc88998b98d7bffc20bc9fa89251a5 (diff)
downloadnumpy-f165623752a2de2013be627803fc19d734c2650a.tar.gz
MAINT: Remove subclass paths from scalar_value
If a user-dtype uses a subclass of an existing NumPy scalar (which is probably rare or non-existing), it cannot be flexible or object. Thus the alignment logic should always work (as it should work for our scalars as well), and it is unlikely that testing for subclasses is not just a waste of time.
Diffstat (limited to 'numpy/array_api/_array_object.py')
0 files changed, 0 insertions, 0 deletions