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 /Python/initconfig.c | |
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 'Python/initconfig.c')
-rw-r--r-- | Python/initconfig.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Python/initconfig.c b/Python/initconfig.c index 43e0ccb..201d930 100644 --- a/Python/initconfig.c +++ b/Python/initconfig.c @@ -1,25 +1,25 @@ #include "Python.h" -#include "osdefs.h" /* DELIM */ +#include "osdefs.h" // DELIM #include "pycore_fileutils.h" #include "pycore_getopt.h" #include "pycore_initconfig.h" -#include "pycore_interp.h" // _PyInterpreterState.runtime +#include "pycore_interp.h" // _PyInterpreterState.runtime #include "pycore_pathconfig.h" #include "pycore_pyerrors.h" #include "pycore_pylifecycle.h" #include "pycore_pymem.h" -#include "pycore_pystate.h" /* _PyRuntime */ -#include <locale.h> /* setlocale() */ +#include "pycore_pystate.h" // _PyThreadState_GET() +#include <locale.h> // setlocale() #ifdef HAVE_LANGINFO_H -# include <langinfo.h> /* nl_langinfo(CODESET) */ +# include <langinfo.h> // nl_langinfo(CODESET) #endif #if defined(MS_WINDOWS) || defined(__CYGWIN__) -# include <windows.h> /* GetACP() */ +# include <windows.h> // GetACP() # ifdef HAVE_IO_H # include <io.h> # endif # ifdef HAVE_FCNTL_H -# include <fcntl.h> /* O_BINARY */ +# include <fcntl.h> // O_BINARY # endif #endif |