summaryrefslogtreecommitdiff
path: root/Python/import.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-04-15 02:04:42 +0200
committerGitHub <noreply@github.com>2020-04-15 02:04:42 +0200
commit62183b8d6d49e59c6a98bbdaa65b7ea1415abb7f (patch)
tree6fe82dd9494ae4de5041b16e18816973904d110b /Python/import.c
parentd01628e411752ee6849f862cae66a1c69fe512b7 (diff)
downloadcpython-git-62183b8d6d49e59c6a98bbdaa65b7ea1415abb7f.tar.gz
bpo-40268: Remove explicit pythread.h includes (#19529)
Remove explicit pythread.h includes: it is always included by Python.h.
Diffstat (limited to 'Python/import.c')
-rw-r--r--Python/import.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Python/import.c b/Python/import.c
index 49334637d6..2f2e9d1706 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -150,8 +150,6 @@ _PyImportZip_Init(PyThreadState *tstate)
in different threads to return with a partially loaded module.
These calls are serialized by the global interpreter lock. */
-#include "pythread.h"
-
static PyThread_type_lock import_lock = 0;
static unsigned long import_lock_thread = PYTHREAD_INVALID_THREAD_ID;
static int import_lock_level = 0;