diff options
author | Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 2024-06-27 10:09:30 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-27 10:09:30 (GMT) |
commit | 6f7acaab508edac3dff376912b85cf46a8671e72 (patch) | |
tree | 2acb9a72a943dcafe860cecf901e0b106c8f1658 /Include | |
parent | 12af8ec864225248c3d2916cb142a5e7ee36cbe2 (diff) | |
download | cpython-6f7acaab508edac3dff376912b85cf46a8671e72.zip cpython-6f7acaab508edac3dff376912b85cf46a8671e72.tar.gz cpython-6f7acaab508edac3dff376912b85cf46a8671e72.tar.bz2 |
gh-120686: remove unused internal c api functions (#120687)
Diffstat (limited to 'Include')
-rw-r--r-- | Include/internal/pycore_call.h | 1 | ||||
-rw-r--r-- | Include/internal/pycore_dict.h | 1 | ||||
-rw-r--r-- | Include/internal/pycore_identifier.h | 20 | ||||
-rw-r--r-- | Include/internal/pycore_unicodeobject.h | 1 |
4 files changed, 0 insertions, 23 deletions
diff --git a/Include/internal/pycore_call.h b/Include/internal/pycore_call.h index c92028a..49f5c33 100644 --- a/Include/internal/pycore_call.h +++ b/Include/internal/pycore_call.h @@ -8,7 +8,6 @@ extern "C" { # error "this header requires Py_BUILD_CORE define" #endif -#include "pycore_identifier.h" // _Py_Identifier #include "pycore_pystate.h" // _PyThreadState_GET() /* Suggested size (number of positional arguments) for arrays of PyObject* diff --git a/Include/internal/pycore_dict.h b/Include/internal/pycore_dict.h index cfe837b..9e0e123 100644 --- a/Include/internal/pycore_dict.h +++ b/Include/internal/pycore_dict.h @@ -9,7 +9,6 @@ extern "C" { #endif #include "pycore_freelist.h" // _PyFreeListState -#include "pycore_identifier.h" // _Py_Identifier #include "pycore_object.h" // PyManagedDictPointer #include "pycore_pyatomic_ft_wrappers.h" // FT_ATOMIC_LOAD_SSIZE_ACQUIRE diff --git a/Include/internal/pycore_identifier.h b/Include/internal/pycore_identifier.h deleted file mode 100644 index cda2881..0000000 --- a/Include/internal/pycore_identifier.h +++ /dev/null @@ -1,20 +0,0 @@ -/* String Literals: _Py_Identifier API */ - -#ifndef Py_INTERNAL_IDENTIFIER_H -#define Py_INTERNAL_IDENTIFIER_H -#ifdef __cplusplus -extern "C" { -#endif - -#ifndef Py_BUILD_CORE -# error "this header requires Py_BUILD_CORE define" -#endif - -extern PyObject* _PyType_LookupId(PyTypeObject *, _Py_Identifier *); -extern PyObject* _PyObject_LookupSpecialId(PyObject *, _Py_Identifier *); -extern int _PyObject_SetAttrId(PyObject *, _Py_Identifier *, PyObject *); - -#ifdef __cplusplus -} -#endif -#endif // !Py_INTERNAL_IDENTIFIER_H diff --git a/Include/internal/pycore_unicodeobject.h b/Include/internal/pycore_unicodeobject.h index f18a685..20497ee 100644 --- a/Include/internal/pycore_unicodeobject.h +++ b/Include/internal/pycore_unicodeobject.h @@ -10,7 +10,6 @@ extern "C" { #include "pycore_lock.h" // PyMutex #include "pycore_fileutils.h" // _Py_error_handler -#include "pycore_identifier.h" // _Py_Identifier #include "pycore_ucnhash.h" // _PyUnicode_Name_CAPI #include "pycore_global_objects.h" // _Py_SINGLETON |