diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2020-06-20 17:20:41 +0100 |
---|---|---|
committer | Eric Wieser <wieser.eric@gmail.com> | 2020-06-20 17:20:41 +0100 |
commit | 4f5d48f9568febad2ec15e904dbaea0492b2fb0b (patch) | |
tree | 9caa6c721188491e8c905f25e1e735c27d4bcffe /numpy/array_api/_array_object.py | |
parent | e73c8e5479297f235b37fba91d6d0e8464be66a6 (diff) | |
download | numpy-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