summaryrefslogtreecommitdiff
path: root/Objects/bytearrayobject.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-02-12 22:32:34 +0100
committerGitHub <noreply@github.com>2020-02-12 22:32:34 +0100
commit45876a90e2663f12b90c2090ec3e48bd97841aae (patch)
treeece53599591dd1bdcbdf1fe0dfe507c77da4b664 /Objects/bytearrayobject.c
parent6e619c48b8e804ece9521453fc8da0640a04d5b1 (diff)
downloadcpython-git-45876a90e2663f12b90c2090ec3e48bd97841aae.tar.gz
bpo-35081: Move bytes_methods.h to the internal C API (GH-18492)
Move the bytes_methods.h header file to the internal C API as pycore_bytes_methods.h: it only contains private symbols (prefixed by "_Py"), except of the PyDoc_STRVAR_shared() macro.
Diffstat (limited to 'Objects/bytearrayobject.c')
-rw-r--r--Objects/bytearrayobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/bytearrayobject.c b/Objects/bytearrayobject.c
index a3fc35ca4d..d3964358bc 100644
--- a/Objects/bytearrayobject.c
+++ b/Objects/bytearrayobject.c
@@ -2,11 +2,11 @@
#define PY_SSIZE_T_CLEAN
#include "Python.h"
+#include "pycore_bytes_methods.h"
#include "pycore_object.h"
#include "pycore_pymem.h"
#include "pycore_pystate.h"
#include "structmember.h"
-#include "bytes_methods.h"
#include "bytesobject.h"
#include "pystrhex.h"