bpo-40268: Remove explicit pythread.h includes (#19529)

Remove explicit pythread.h includes: it is always included
by Python.h.
This commit is contained in:
Victor Stinner 2020-04-15 02:04:42 +02:00 committed by GitHub
parent d01628e411
commit 62183b8d6d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
28 changed files with 7 additions and 46 deletions

View file

@ -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;