summaryrefslogtreecommitdiffstats
path: root/Parser
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-07-04 07:29:52 (GMT)
committerGitHub <noreply@github.com>2023-07-04 07:29:52 (GMT)
commitd8c5d76da2d5c3e8f9c05fcfc59dc1aaaa1fe6e1 (patch)
tree8d76adb30c62539cb44b065e2286d7809dab8021 /Parser
parent3406f8cce542ea4edf4153c0fac5216df283a9b1 (diff)
downloadcpython-d8c5d76da2d5c3e8f9c05fcfc59dc1aaaa1fe6e1.zip
cpython-d8c5d76da2d5c3e8f9c05fcfc59dc1aaaa1fe6e1.tar.gz
cpython-d8c5d76da2d5c3e8f9c05fcfc59dc1aaaa1fe6e1.tar.bz2
gh-106320: Remove private _PyUnicode codecs C API functions (#106385)
Remove private _PyUnicode codecs C API functions: move them to the internal C API (pycore_unicodeobject.h). No longer export most of these functions.
Diffstat (limited to 'Parser')
-rw-r--r--Parser/string_parser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Parser/string_parser.c b/Parser/string_parser.c
index 20459e8..bc1f99d 100644
--- a/Parser/string_parser.c
+++ b/Parser/string_parser.c
@@ -1,6 +1,7 @@
#include <stdbool.h>
#include <Python.h>
+#include "pycore_unicodeobject.h" // _PyUnicode_DecodeUnicodeEscapeInternal()
#include "tokenizer.h"
#include "pegen.h"