summaryrefslogtreecommitdiff
path: root/numpy/array_api/_array_object.py
diff options
context:
space:
mode:
authorAntony Lee <anntzer.lee@gmail.com>2021-08-24 10:37:06 +0200
committerAntony Lee <anntzer.lee@gmail.com>2021-08-24 10:38:53 +0200
commit60116f24a7121e1542fda0655bba56bd3647d26d (patch)
tree55da35750a1b362dac786c0735a00acee7ccce1d /numpy/array_api/_array_object.py
parent158159d43a988ff418df5aee3c8b3ecfcb1d0986 (diff)
downloadnumpy-60116f24a7121e1542fda0655bba56bd3647d26d.tar.gz
MAINT: Avoid use of confusing compat aliases.
As of Py3, np.compat.unicode == str, but that's not entirely obvious (it could correspond to some numpy dtype too), so just use plain str. Likewise for np.compat.int. tests are intentionally left unchanged, as they can be considered as implicitly testing the np.compat.py3k interface as well.
Diffstat (limited to 'numpy/array_api/_array_object.py')
0 files changed, 0 insertions, 0 deletions