mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
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:
parent
d01628e411
commit
62183b8d6d
28 changed files with 7 additions and 46 deletions
|
|
@ -10,7 +10,6 @@
|
|||
#include "zlib.h"
|
||||
|
||||
|
||||
#include "pythread.h"
|
||||
#define ENTER_ZLIB(obj) \
|
||||
Py_BEGIN_ALLOW_THREADS; \
|
||||
PyThread_acquire_lock((obj)->lock, 1); \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue