summaryrefslogtreecommitdiffstats
path: root/Objects/object.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-08-24 17:07:54 (GMT)
committerGitHub <noreply@github.com>2023-08-24 17:07:54 (GMT)
commit773b803c02b25b58af0a64321fbe1c6bf45cba2b (patch)
tree5608e4782653c4815614dbe16db64b69d676285b /Objects/object.c
parentc55e73112c7b0574d05a522015d0c927de266525 (diff)
downloadcpython-773b803c02b25b58af0a64321fbe1c6bf45cba2b.zip
cpython-773b803c02b25b58af0a64321fbe1c6bf45cba2b.tar.gz
cpython-773b803c02b25b58af0a64321fbe1c6bf45cba2b.tar.bz2
gh-106320: Remove private _PyManagedBuffer_Type (#108431)
Remove private _PyManagedBuffer_Type variable. Move it to the internal C API and no longer export it.
Diffstat (limited to 'Objects/object.c')
-rw-r--r--Objects/object.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/Objects/object.c b/Objects/object.c
index 868623a..02e2611 100644
--- a/Objects/object.c
+++ b/Objects/object.c
@@ -9,15 +9,17 @@
#include "pycore_dict.h" // _PyObject_MakeDictFromInstanceAttributes()
#include "pycore_floatobject.h" // _PyFloat_DebugMallocStats()
#include "pycore_initconfig.h" // _PyStatus_EXCEPTION()
+#include "pycore_memoryobject.h" // _PyManagedBuffer_Type
#include "pycore_namespace.h" // _PyNamespace_Type
#include "pycore_object.h" // PyAPI_DATA() _Py_SwappedOp definition
#include "pycore_pyerrors.h" // _PyErr_Occurred()
#include "pycore_pymem.h" // _PyMem_IsPtrFreed()
#include "pycore_pystate.h" // _PyThreadState_GET()
#include "pycore_symtable.h" // PySTEntry_Type
-#include "pycore_typevarobject.h" // _PyTypeAlias_Type, _Py_initialize_generic
#include "pycore_typeobject.h" // _PyBufferWrapper_Type
+#include "pycore_typevarobject.h" // _PyTypeAlias_Type, _Py_initialize_generic
#include "pycore_unionobject.h" // _PyUnion_Type
+
#include "interpreteridobject.h" // _PyInterpreterID_Type
#ifdef Py_LIMITED_API