summaryrefslogtreecommitdiff
path: root/numpy/array_api/tests/test_array_object.py
diff options
context:
space:
mode:
authorMarten van Kerkwijk <mhvk@astro.utoronto.ca>2022-01-07 11:04:08 -0500
committerMarten van Kerkwijk <mhvk@astro.utoronto.ca>2022-01-08 17:44:29 -0500
commit99d927b68a6b4df51600509d5a4a92687faf8c73 (patch)
tree878e25adfea4acb7eb7c892496205298cef1f704 /numpy/array_api/tests/test_array_object.py
parentb375f4eace5636d87fb6e09de23e8b2cb5259a1e (diff)
downloadnumpy-99d927b68a6b4df51600509d5a4a92687faf8c73.tar.gz
MAINT: Speed up subtypes that do not override __array_finalize__
In the process, __array_finalized__ is looked up on the subclass instead of the instance, which is more like python for methods like these. It cannot make a difference, since the instance is created in the same routine, so the instance method is guaranteed to be the same as that on the class.
Diffstat (limited to 'numpy/array_api/tests/test_array_object.py')
0 files changed, 0 insertions, 0 deletions