summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-07-22 16:07:07 (GMT)
committerGitHub <noreply@github.com>2023-07-22 16:07:07 (GMT)
commit6fbc717214210e06313a283b2f3ec8ce67209609 (patch)
tree032aeea214b0e74f89641fe5f19a0e8155ee049f /Objects
parent9c38206925246ab919cf558ac069ae9458720ba7 (diff)
downloadcpython-6fbc717214210e06313a283b2f3ec8ce67209609.zip
cpython-6fbc717214210e06313a283b2f3ec8ce67209609.tar.gz
cpython-6fbc717214210e06313a283b2f3ec8ce67209609.tar.bz2
gh-106320: Remove _Py_SwappedOp from the C API (#107036)
Move _Py_SwappedOp to the internal C API (pycore_object.h).
Diffstat (limited to 'Objects')
-rw-r--r--Objects/object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/object.c b/Objects/object.c
index bfbc871..3b8839b 100644
--- a/Objects/object.c
+++ b/Objects/object.c
@@ -9,7 +9,7 @@
#include "pycore_floatobject.h" // _PyFloat_DebugMallocStats()
#include "pycore_initconfig.h" // _PyStatus_EXCEPTION()
#include "pycore_namespace.h" // _PyNamespace_Type
-#include "pycore_object.h" // _PyType_CheckConsistency(), _Py_FatalRefcountError()
+#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()