diff options
author | Victor Stinner <vstinner@redhat.com> | 2018-11-01 01:30:36 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-01 01:30:36 (GMT) |
commit | e281f7d80ce2584a7e6a36acffb5a9cd796a0fe2 (patch) | |
tree | 74c1415a5845bd18489b5adb648510ea8fb663da /Modules | |
parent | 50b48572d9a90c5bb36e2bef6179548ea927a35a (diff) | |
download | cpython-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 'Modules')
-rw-r--r-- | Modules/_io/stringio.c | 2 | ||||
-rw-r--r-- | Modules/_json.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_io/stringio.c b/Modules/_io/stringio.c index 5a03715..793fa1e 100644 --- a/Modules/_io/stringio.c +++ b/Modules/_io/stringio.c @@ -1,7 +1,7 @@ #define PY_SSIZE_T_CLEAN #include "Python.h" #include "structmember.h" -#include "accu.h" +#include "pycore_accu.h" #include "_iomodule.h" /* Implementation note: the buffer is always at least one character longer diff --git a/Modules/_json.c b/Modules/_json.c index ac6e017..53e1e88 100644 --- a/Modules/_json.c +++ b/Modules/_json.c @@ -7,7 +7,7 @@ #include "Python.h" #include "structmember.h" -#include "accu.h" +#include "pycore_accu.h" #ifdef __GNUC__ #define UNUSED __attribute__((__unused__)) |