summaryrefslogtreecommitdiffstats
path: root/Python
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 /Python
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 'Python')
-rw-r--r--Python/ceval.c1
-rw-r--r--Python/getargs.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index 7b24655..a4273ad 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -12,6 +12,7 @@
#include "Python.h"
#include "pycore_object.h"
#include "pycore_pystate.h"
+#include "pycore_tupleobject.h"
#include "code.h"
#include "dictobject.h"
diff --git a/Python/getargs.c b/Python/getargs.c
index 89df29e..ac8bac3 100644
--- a/Python/getargs.c
+++ b/Python/getargs.c
@@ -2,6 +2,7 @@
/* New getargs implementation */
#include "Python.h"
+#include "pycore_tupleobject.h"
#include <ctype.h>
#include <float.h>