summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-11-01 01:30:36 (GMT)
committerGitHub <noreply@github.com>2018-11-01 01:30:36 (GMT)
commite281f7d80ce2584a7e6a36acffb5a9cd796a0fe2 (patch)
tree74c1415a5845bd18489b5adb648510ea8fb663da /Objects
parent50b48572d9a90c5bb36e2bef6179548ea927a35a (diff)
downloadcpython-e281f7d80ce2584a7e6a36acffb5a9cd796a0fe2.zip
cpython-e281f7d80ce2584a7e6a36acffb5a9cd796a0fe2.tar.gz
cpython-e281f7d80ce2584a7e6a36acffb5a9cd796a0fe2.tar.bz2
bpo-35081: Move accu.h to Include/internal/pycore_accu.h (GH-10271)
The accu.h header is no longer part of the Python C API: it has been moved to the "internal" headers which are restricted to Python itself. Replace #include "accu.h" with #include "pycore_accu.h".
Diffstat (limited to 'Objects')
-rw-r--r--Objects/accu.c2
-rw-r--r--Objects/listobject.c2
-rw-r--r--Objects/tupleobject.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/Objects/accu.c b/Objects/accu.c
index 48fe02d..c8b5d38 100644
--- a/Objects/accu.c
+++ b/Objects/accu.c
@@ -1,7 +1,7 @@
/* Accumulator struct implementation */
#include "Python.h"
-#include "accu.h"
+#include "pycore_accu.h"
static PyObject *
join_list_unicode(PyObject *lst)
diff --git a/Objects/listobject.c b/Objects/listobject.c
index e38b21f..ffd91a6 100644
--- a/Objects/listobject.c
+++ b/Objects/listobject.c
@@ -2,7 +2,7 @@
#include "Python.h"
#include "pycore_state.h"
-#include "accu.h"
+#include "pycore_accu.h"
#ifdef STDC_HEADERS
#include <stddef.h>
diff --git a/Objects/tupleobject.c b/Objects/tupleobject.c
index cce266f..c997bc6 100644
--- a/Objects/tupleobject.c
+++ b/Objects/tupleobject.c
@@ -3,7 +3,7 @@
#include "Python.h"
#include "pycore_state.h"
-#include "accu.h"
+#include "pycore_accu.h"
/*[clinic input]
class tuple "PyTupleObject *" "&PyTuple_Type"