summaryrefslogtreecommitdiffstats
path: root/Python/thread.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-05-11 23:35:41 (GMT)
committerGitHub <noreply@github.com>2022-05-11 23:35:41 (GMT)
commitd0c9353a79c2003385c83892db5dfd4e443474c9 (patch)
tree85d243972089f4ed548140daf0e2d4b24f397b0e /Python/thread.c
parent92f0ed1d90bb3338fb36dbeb997e495ab474ae1e (diff)
downloadcpython-d0c9353a79c2003385c83892db5dfd4e443474c9.zip
cpython-d0c9353a79c2003385c83892db5dfd4e443474c9.tar.gz
cpython-d0c9353a79c2003385c83892db5dfd4e443474c9.tar.bz2
gh-89653: PEP 670: unicodeobject.h uses _Py_CAST() (#92696)
Use _Py_CAST() and _Py_STATIC_CAST() in macros wrapping static inline functions of unicodeobject.h. Change also the kind type from unsigned int to int: same parameter type than PyUnicode_FromKindAndData(). The limited API version 3.11 no longer casts arguments to expected types.
Diffstat (limited to 'Python/thread.c')
0 files changed, 0 insertions, 0 deletions