summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-04-15 00:57:50 (GMT)
committerGitHub <noreply@github.com>2020-04-15 00:57:50 (GMT)
commitd9ea5cae1d07e1ee8b03540a9367c26205e0e360 (patch)
tree9f2b13f562839a98ba106d9229e44323db9bf0d7 /Modules
parent4a21e57fe55076c77b0ee454e1994ca544d09dc0 (diff)
downloadcpython-d9ea5cae1d07e1ee8b03540a9367c26205e0e360.zip
cpython-d9ea5cae1d07e1ee8b03540a9367c26205e0e360.tar.gz
cpython-d9ea5cae1d07e1ee8b03540a9367c26205e0e360.tar.bz2
bpo-40268: Remove unused pycore_pymem.h includes (GH-19531)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_functoolsmodule.c1
-rw-r--r--Modules/gcmodule.c1
-rw-r--r--Modules/main.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/Modules/_functoolsmodule.c b/Modules/_functoolsmodule.c
index 90e388c..78706b6 100644
--- a/Modules/_functoolsmodule.c
+++ b/Modules/_functoolsmodule.c
@@ -1,5 +1,4 @@
#include "Python.h"
-#include "pycore_pymem.h"
#include "pycore_pystate.h" // _PyThreadState_GET()
#include "pycore_tupleobject.h"
#include "structmember.h" // PyMemberDef
diff --git a/Modules/gcmodule.c b/Modules/gcmodule.c
index d2cd2c9..5727820 100644
--- a/Modules/gcmodule.c
+++ b/Modules/gcmodule.c
@@ -30,7 +30,6 @@
#include "pycore_object.h"
#include "pycore_pyerrors.h"
#include "pycore_pystate.h" // _PyThreadState_GET()
-#include "pycore_pymem.h"
#include "frameobject.h" // PyFrame_ClearFreeList
#include "pydtrace.h"
#include "pytime.h" // _PyTime_GetMonotonicClock()
diff --git a/Modules/main.c b/Modules/main.c
index fa9c6b4..4d696a3 100644
--- a/Modules/main.c
+++ b/Modules/main.c
@@ -5,7 +5,6 @@
#include "pycore_interp.h" // _PyInterpreterState.sysdict
#include "pycore_pathconfig.h"
#include "pycore_pylifecycle.h"
-#include "pycore_pymem.h"
#include "pycore_pystate.h" // _PyInterpreterState_GET()
/* Includes for exit_sigint() */