diff options
author | Marten van Kerkwijk <mhvk@astro.utoronto.ca> | 2022-01-07 11:04:08 -0500 |
---|---|---|
committer | Marten van Kerkwijk <mhvk@astro.utoronto.ca> | 2022-01-08 17:44:29 -0500 |
commit | 99d927b68a6b4df51600509d5a4a92687faf8c73 (patch) | |
tree | 878e25adfea4acb7eb7c892496205298cef1f704 /numpy/array_api/tests/test_array_object.py | |
parent | b375f4eace5636d87fb6e09de23e8b2cb5259a1e (diff) | |
download | numpy-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