summaryrefslogtreecommitdiff
path: root/numpy/array_api/_array_object.py
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2020-06-20 17:20:41 +0100
committerEric Wieser <wieser.eric@gmail.com>2020-06-20 17:20:41 +0100
commit4f5d48f9568febad2ec15e904dbaea0492b2fb0b (patch)
tree9caa6c721188491e8c905f25e1e735c27d4bcffe /numpy/array_api/_array_object.py
parente73c8e5479297f235b37fba91d6d0e8464be66a6 (diff)
downloadnumpy-4f5d48f9568febad2ec15e904dbaea0492b2fb0b.tar.gz
MAINT: Replace `PyUString_GET_SIZE` with `PyUnicode_GetLength`.
The former is deprecated. While they have slightly different meanings, the difference is irrelevant for comparison against 0. Also replaces `PyUString_Check` with `PyUnicode_Check` for consistency.
Diffstat (limited to 'numpy/array_api/_array_object.py')
0 files changed, 0 insertions, 0 deletions