summaryrefslogtreecommitdiffstats
path: root/Modules/_testcapi/dict.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-09-01 16:36:53 (GMT)
committerGitHub <noreply@github.com>2023-09-01 16:36:53 (GMT)
commit578ebc5d5fab2e5e0b87636361c6aeb8d2b287fa (patch)
tree36df000be6a6d903c51fe5db44e9cf93625cadeb /Modules/_testcapi/dict.c
parent03c5a685689fd4891d01caff8da01096fcf73d5a (diff)
downloadcpython-578ebc5d5fab2e5e0b87636361c6aeb8d2b287fa.zip
cpython-578ebc5d5fab2e5e0b87636361c6aeb8d2b287fa.tar.gz
cpython-578ebc5d5fab2e5e0b87636361c6aeb8d2b287fa.tar.bz2
gh-108767: Replace ctype.h functions with pyctype.h functions (#108772)
Replace <ctype.h> locale dependent functions with Python "pyctype.h" locale independent functions: * Replace isalpha() with Py_ISALPHA(). * Replace isdigit() with Py_ISDIGIT(). * Replace isxdigit() with Py_ISXDIGIT(). * Replace tolower() with Py_TOLOWER(). Leave Modules/_sre/sre.c unchanged, it uses locale dependent functions on purpose. Include explicitly <ctype.h> in _decimal.c to get isascii().
Diffstat (limited to 'Modules/_testcapi/dict.c')
0 files changed, 0 insertions, 0 deletions