summaryrefslogtreecommitdiff
path: root/numpy/array_api/_array_object.py
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2020-01-27 22:18:06 +0000
committerEric Wieser <wieser.eric@gmail.com>2020-01-27 23:16:54 +0000
commitdf1347dba08a7c67a38bd1dfcd180342e579195f (patch)
tree22391c8d1495369dd44d11a45ca72363a7af7066 /numpy/array_api/_array_object.py
parentb7cbf64b1640ad59c86797a2b6710f9d847ad028 (diff)
downloadnumpy-df1347dba08a7c67a38bd1dfcd180342e579195f.tar.gz
MAINT: Simplify `np.object_.__new__`
This is super hard to read for being part of a templated function which it has very little in common with. Writing out OBJECT_arrtype_new separately makes it easier to follow, and possible to simplify. It also uses fewer lines!
Diffstat (limited to 'numpy/array_api/_array_object.py')
0 files changed, 0 insertions, 0 deletions