bpo-41078: Rename pycore_tupleobject.h to pycore_tuple.h (GH-21056)
diff --git a/Objects/call.c b/Objects/call.c
index 61426c7..30fa14c 100644
--- a/Objects/call.c
+++ b/Objects/call.c
@@ -1,11 +1,11 @@
#include "Python.h"
-#include "pycore_call.h"
-#include "pycore_ceval.h" // _PyEval_EvalFrame()
-#include "pycore_object.h"
-#include "pycore_pyerrors.h"
-#include "pycore_pystate.h" // _PyThreadState_GET()
-#include "pycore_tupleobject.h"
-#include "frameobject.h"
+#include "pycore_call.h" // _PyObject_CallNoArgTstate()
+#include "pycore_ceval.h" // _PyEval_EvalFrame()
+#include "pycore_object.h" // _PyObject_GC_TRACK()
+#include "pycore_pyerrors.h" // _PyErr_Occurred()
+#include "pycore_pystate.h" // _PyThreadState_GET()
+#include "pycore_tuple.h" // _PyTuple_ITEMS()
+#include "frameobject.h" // _PyFrame_New_NoTrack()
static PyObject *const *
diff --git a/Objects/codeobject.c b/Objects/codeobject.c
index cb4fb68..49011db 100644
--- a/Objects/codeobject.c
+++ b/Objects/codeobject.c
@@ -4,10 +4,10 @@
#include "code.h"
#include "opcode.h"
#include "structmember.h" // PyMemberDef
-#include "pycore_code.h"
+#include "pycore_code.h" // _PyOpcache
#include "pycore_interp.h" // PyInterpreterState.co_extra_freefuncs
#include "pycore_pystate.h" // _PyInterpreterState_GET()
-#include "pycore_tupleobject.h"
+#include "pycore_tuple.h" // _PyTuple_ITEMS()
#include "clinic/codeobject.c.h"
/* Holder for co_extra information */
diff --git a/Objects/descrobject.c b/Objects/descrobject.c
index fce9cdd..a8ce13c 100644
--- a/Objects/descrobject.c
+++ b/Objects/descrobject.c
@@ -1,10 +1,10 @@
/* Descriptors -- a new, flexible way to describe attributes */
#include "Python.h"
-#include "pycore_ceval.h" // _Py_EnterRecursiveCall()
-#include "pycore_object.h"
-#include "pycore_pystate.h" // _PyThreadState_GET()
-#include "pycore_tupleobject.h"
+#include "pycore_ceval.h" // _Py_EnterRecursiveCall()
+#include "pycore_object.h" // _PyObject_GC_UNTRACK()
+#include "pycore_pystate.h" // _PyThreadState_GET()
+#include "pycore_tuple.h" // _PyTuple_ITEMS()
#include "structmember.h" // PyMemberDef
_Py_IDENTIFIER(getattr);
diff --git a/Objects/funcobject.c b/Objects/funcobject.c
index bd24f67..09a1886 100644
--- a/Objects/funcobject.c
+++ b/Objects/funcobject.c
@@ -3,7 +3,6 @@
#include "Python.h"
#include "pycore_object.h"
-#include "pycore_tupleobject.h"
#include "code.h"
#include "structmember.h" // PyMemberDef
diff --git a/Objects/listobject.c b/Objects/listobject.c
index 22cdbe3..261a0fd 100644
--- a/Objects/listobject.c
+++ b/Objects/listobject.c
@@ -1,10 +1,10 @@
/* List object implementation */
#include "Python.h"
-#include "pycore_abstract.h" // _PyIndex_Check()
-#include "pycore_object.h"
-#include "pycore_tupleobject.h"
-#include "pycore_accu.h"
+#include "pycore_abstract.h" // _PyIndex_Check()
+#include "pycore_interp.h" // PyInterpreterState.list
+#include "pycore_object.h" // _PyObject_GC_TRACK()
+#include "pycore_tuple.h" // _PyTuple_FromArray()
#ifdef STDC_HEADERS
#include <stddef.h>
diff --git a/Objects/rangeobject.c b/Objects/rangeobject.c
index 751dbb9..ba6d425 100644
--- a/Objects/rangeobject.c
+++ b/Objects/rangeobject.c
@@ -1,8 +1,8 @@
/* Range object implementation */
#include "Python.h"
-#include "pycore_abstract.h" // _PyIndex_Check()
-#include "pycore_tupleobject.h"
+#include "pycore_abstract.h" // _PyIndex_Check()
+#include "pycore_tuple.h" // _PyTuple_ITEMS()
#include "structmember.h" // PyMemberDef
/* Support objects whose length is > PY_SSIZE_T_MAX.
diff --git a/Objects/structseq.c b/Objects/structseq.c
index b17b1f9..bd20ce3 100644
--- a/Objects/structseq.c
+++ b/Objects/structseq.c
@@ -8,8 +8,8 @@
*/
#include "Python.h"
-#include "pycore_tupleobject.h"
-#include "pycore_object.h"
+#include "pycore_tuple.h" // _PyTuple_FromArray()
+#include "pycore_object.h" // _PyObject_GC_TRACK()
#include "structmember.h" // PyMemberDef
static const char visible_length_key[] = "n_sequence_fields";