commit | e5014be0497d06d78343623588a80f491a6f7b74 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Tue Apr 14 17:52:15 2020 +0200 |
committer | GitHub <noreply@github.com> | Tue Apr 14 17:52:15 2020 +0200 |
tree | a8bbd18a39f6567115adb3089d1d9758c3e4690d | |
parent | e1945307d36849f8be8937144cf3dd6ebab6274c [diff] [blame] |
bpo-40268: Remove a few pycore_pystate.h includes (GH-19510)
diff --git a/Modules/_io/textio.c b/Modules/_io/textio.c index 95b023d..9e33c1e 100644 --- a/Modules/_io/textio.c +++ b/Modules/_io/textio.c
@@ -8,8 +8,9 @@ #define PY_SSIZE_T_CLEAN #include "Python.h" +#include "pycore_interp.h" // PyInterpreterState.fs_codec #include "pycore_object.h" -#include "pycore_pystate.h" +#include "pycore_pystate.h" // _PyInterpreterState_GET() #include "structmember.h" #include "_iomodule.h"