diff options
author | Victor Stinner <vstinner@python.org> | 2020-04-15 00:04:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-15 00:04:42 (GMT) |
commit | 62183b8d6d49e59c6a98bbdaa65b7ea1415abb7f (patch) | |
tree | 6fe82dd9494ae4de5041b16e18816973904d110b /Include | |
parent | d01628e411752ee6849f862cae66a1c69fe512b7 (diff) | |
download | cpython-62183b8d6d49e59c6a98bbdaa65b7ea1415abb7f.zip cpython-62183b8d6d49e59c6a98bbdaa65b7ea1415abb7f.tar.gz cpython-62183b8d6d49e59c6a98bbdaa65b7ea1415abb7f.tar.bz2 |
bpo-40268: Remove explicit pythread.h includes (#19529)
Remove explicit pythread.h includes: it is always included
by Python.h.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/Python.h | 1 | ||||
-rw-r--r-- | Include/pystate.h | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/Include/Python.h b/Include/Python.h index 769ec49..7fdb9df 100644 --- a/Include/Python.h +++ b/Include/Python.h @@ -131,6 +131,7 @@ #include "pyerrors.h" #include "cpython/initconfig.h" +#include "pythread.h" #include "pystate.h" #include "context.h" diff --git a/Include/pystate.h b/Include/pystate.h index c46d3fe..65b0a24 100644 --- a/Include/pystate.h +++ b/Include/pystate.h @@ -7,8 +7,6 @@ extern "C" { #endif -#include "pythread.h" - /* This limitation is for performance and simplicity. If needed it can be removed (with effort). */ #define MAX_CO_EXTRA_USERS 255 |