diff options
author | Victor Stinner <vstinner@python.org> | 2020-04-14 15:52:15 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-14 15:52:15 (GMT) |
commit | e5014be0497d06d78343623588a80f491a6f7b74 (patch) | |
tree | a8bbd18a39f6567115adb3089d1d9758c3e4690d /Parser | |
parent | e1945307d36849f8be8937144cf3dd6ebab6274c (diff) | |
download | cpython-e5014be0497d06d78343623588a80f491a6f7b74.zip cpython-e5014be0497d06d78343623588a80f491a6f7b74.tar.gz cpython-e5014be0497d06d78343623588a80f491a6f7b74.tar.bz2 |
bpo-40268: Remove a few pycore_pystate.h includes (GH-19510)
Diffstat (limited to 'Parser')
-rw-r--r-- | Parser/listnode.c | 4 | ||||
-rw-r--r-- | Parser/myreadline.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/Parser/listnode.c b/Parser/listnode.c index 3bcc03e..c806b98 100644 --- a/Parser/listnode.c +++ b/Parser/listnode.c @@ -2,8 +2,8 @@ /* List a node on a file */ #include "Python.h" -#include "pycore_interp.h" // PyInterpreterState.parser -#include "pycore_pystate.h" // _PyInterpreterState_GET +#include "pycore_interp.h" // PyInterpreterState.parser +#include "pycore_pystate.h" // _PyInterpreterState_GET() #include "token.h" #include "node.h" diff --git a/Parser/myreadline.c b/Parser/myreadline.c index 43e5583..7da8ea8 100644 --- a/Parser/myreadline.c +++ b/Parser/myreadline.c @@ -10,10 +10,10 @@ */ #include "Python.h" -#include "pycore_pystate.h" +#include "pycore_pystate.h" // _PyThreadState_GET() #ifdef MS_WINDOWS -#define WIN32_LEAN_AND_MEAN -#include "windows.h" +# define WIN32_LEAN_AND_MEAN +# include "windows.h" #endif /* MS_WINDOWS */ |