summaryrefslogtreecommitdiffstats
path: root/Include/cpython
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 /Include/cpython
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 'Include/cpython')
-rw-r--r--Include/cpython/object.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/Include/cpython/object.h b/Include/cpython/object.h
index 0e5b6ac..49101c1 100644
--- a/Include/cpython/object.h
+++ b/Include/cpython/object.h
@@ -377,11 +377,6 @@ PyAPI_FUNC(PyObject *) _PyObject_FunctionStr(PyObject *);
#endif
-/* Maps Py_LT to Py_GT, ..., Py_GE to Py_LE.
- * Defined in object.c.
- */
-PyAPI_DATA(int) _Py_SwappedOp[];
-
PyAPI_FUNC(void)
_PyDebugAllocatorStats(FILE *out, const char *block_name, int num_blocks,
size_t sizeof_block);