diff options
author | Victor Stinner <vstinner@python.org> | 2023-07-04 08:59:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-04 08:59:09 (GMT) |
commit | 8a73b57b9b5f6e36dd5a4c279f4d606d9e71a31f (patch) | |
tree | bccc6274c4eb18732a6062571bb972aae3ff7584 /Python | |
parent | ec931fc3943df0b94f2e250d7723892f2b3414bd (diff) | |
download | cpython-8a73b57b9b5f6e36dd5a4c279f4d606d9e71a31f.zip cpython-8a73b57b9b5f6e36dd5a4c279f4d606d9e71a31f.tar.gz cpython-8a73b57b9b5f6e36dd5a4c279f4d606d9e71a31f.tar.bz2 |
gh-106320: Remove _PyUnicode_TransformDecimalAndSpaceToASCII() (#106398)
Remove private _PyUnicode_TransformDecimalAndSpaceToASCII() and other
private _PyUnicode C API functions: move them to the internal C API
(pycore_unicodeobject.h). No longer most of these functions.
Replace _testcapi.unicode_transformdecimalandspacetoascii() with
_testinternal._PyUnicode_TransformDecimalAndSpaceToASCII().
Diffstat (limited to 'Python')
-rw-r--r-- | Python/pystrhex.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/pystrhex.c b/Python/pystrhex.c index f798256..ce456b7 100644 --- a/Python/pystrhex.c +++ b/Python/pystrhex.c @@ -2,6 +2,7 @@ #include "Python.h" #include "pycore_strhex.h" // _Py_strhex_with_sep() +#include "pycore_unicodeobject.h" // _PyUnicode_CheckConsistency() #include <stdlib.h> // abs() static PyObject *_Py_strhex_impl(const char* argbuf, const Py_ssize_t arglen, |