summaryrefslogtreecommitdiffstats
path: root/Include/internal/pycore_unicodeobject.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-08-29 00:29:46 (GMT)
committerGitHub <noreply@github.com>2023-08-29 00:29:46 (GMT)
commit4fb96a11db5eaca3646bfa697d191469e567d283 (patch)
treecd639b62b56ae1077e8df660929c7a7b04e26a29 /Include/internal/pycore_unicodeobject.h
parent88f1c5b454c34efc167a94b5e2d67ec042834e5b (diff)
downloadcpython-4fb96a11db5eaca3646bfa697d191469e567d283.zip
cpython-4fb96a11db5eaca3646bfa697d191469e567d283.tar.gz
cpython-4fb96a11db5eaca3646bfa697d191469e567d283.tar.bz2
gh-106320: Remove private _Py_Identifier API (#108593)
Remove the private _Py_Identifier type and related private functions from the public C API: * _PyObject_GetAttrId() * _PyObject_LookupSpecialId() * _PyObject_SetAttrId() * _PyType_LookupId() * _Py_IDENTIFIER() * _Py_static_string() * _Py_static_string_init() Move them to the internal C API: add a new pycore_identifier.h header file. No longer export these functions.
Diffstat (limited to 'Include/internal/pycore_unicodeobject.h')
-rw-r--r--Include/internal/pycore_unicodeobject.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/internal/pycore_unicodeobject.h b/Include/internal/pycore_unicodeobject.h
index 08c3dfe..360a9e1 100644
--- a/Include/internal/pycore_unicodeobject.h
+++ b/Include/internal/pycore_unicodeobject.h
@@ -9,6 +9,7 @@ extern "C" {
#endif
#include "pycore_fileutils.h" // _Py_error_handler
+#include "pycore_identifier.h" // _Py_Identifier
#include "pycore_ucnhash.h" // _PyUnicode_Name_CAPI
/* --- Characters Type APIs ----------------------------------------------- */