summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-11-25 22:56:17 (GMT)
committerGitHub <noreply@github.com>2018-11-25 22:56:17 (GMT)
commitec13b9322d95a651606219469fc7b7e9c977f248 (patch)
tree3fe923cfef5fafe9b5cba193b9dc54b8fd3c7bc2 /Objects
parent8ac6539d85b481fc6b5e9145446b07e591b2caba (diff)
downloadcpython-ec13b9322d95a651606219469fc7b7e9c977f248.zip
cpython-ec13b9322d95a651606219469fc7b7e9c977f248.tar.gz
cpython-ec13b9322d95a651606219469fc7b7e9c977f248.tar.bz2
bpo-35081: Add Include/internal/pycore_tupleobject.h (GH-10705)
Move _PyTuple_ITEMS() to a new header file: Include/internal/pycore_tupleobject.h
Diffstat (limited to 'Objects')
-rw-r--r--Objects/call.c1
-rw-r--r--Objects/codeobject.c1
-rw-r--r--Objects/descrobject.c1
-rw-r--r--Objects/funcobject.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/Objects/call.c b/Objects/call.c
index ce346c2..ba2ddcb 100644
--- a/Objects/call.c
+++ b/Objects/call.c
@@ -1,6 +1,7 @@
#include "Python.h"
#include "pycore_object.h"
#include "pycore_pystate.h"
+#include "pycore_tupleobject.h"
#include "frameobject.h"
diff --git a/Objects/codeobject.c b/Objects/codeobject.c
index a2efa7e..09182d6 100644
--- a/Objects/codeobject.c
+++ b/Objects/codeobject.c
@@ -4,6 +4,7 @@
#include "code.h"
#include "structmember.h"
#include "pycore_pystate.h"
+#include "pycore_tupleobject.h"
/* Holder for co_extra information */
typedef struct {
diff --git a/Objects/descrobject.c b/Objects/descrobject.c
index dd3c501..23d4b1a 100644
--- a/Objects/descrobject.c
+++ b/Objects/descrobject.c
@@ -3,6 +3,7 @@
#include "Python.h"
#include "pycore_object.h"
#include "pycore_pystate.h"
+#include "pycore_tupleobject.h"
#include "structmember.h" /* Why is this not included in Python.h? */
/*[clinic input]
diff --git a/Objects/funcobject.c b/Objects/funcobject.c
index 982df54..c77e4e9 100644
--- a/Objects/funcobject.c
+++ b/Objects/funcobject.c
@@ -5,6 +5,7 @@
#include "pycore_object.h"
#include "pycore_pymem.h"
#include "pycore_pystate.h"
+#include "pycore_tupleobject.h"
#include "code.h"
#include "structmember.h"