diff options
author | Victor Stinner <vstinner@python.org> | 2023-07-23 20:10:12 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-23 20:10:12 (GMT) |
commit | 7d41ead9191a18bc473534f6f8bd1095f2232cc2 (patch) | |
tree | 88fbc75fdfd4158da7321ef308c537a66a55af4d /Parser | |
parent | 0d6dfd68d22762c115d202515fe3310bfb42e327 (diff) | |
download | cpython-7d41ead9191a18bc473534f6f8bd1095f2232cc2.zip cpython-7d41ead9191a18bc473534f6f8bd1095f2232cc2.tar.gz cpython-7d41ead9191a18bc473534f6f8bd1095f2232cc2.tar.bz2 |
gh-106320: Remove _PyBytes_Join() C API (#107144)
Move private _PyBytes functions to the internal C API
(pycore_bytesobject.h):
* _PyBytes_DecodeEscape()
* _PyBytes_FormatEx()
* _PyBytes_FromHex()
* _PyBytes_Join()
No longer export these functions.
Diffstat (limited to 'Parser')
-rw-r--r-- | Parser/string_parser.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Parser/string_parser.c b/Parser/string_parser.c index bc1f99d..72898c3 100644 --- a/Parser/string_parser.c +++ b/Parser/string_parser.c @@ -1,6 +1,7 @@ #include <stdbool.h> #include <Python.h> +#include "pycore_bytesobject.h" // _PyBytes_DecodeEscape() #include "pycore_unicodeobject.h" // _PyUnicode_DecodeUnicodeEscapeInternal() #include "tokenizer.h" |