mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
bpo-40268: Remove unused imports in pylifecycle.c (GH-19533)
Remove unused imports in files: * initconfig.c * main.c * preconfig.h * pylifecycle.c * python.c * pythonrun.c
This commit is contained in:
parent
361dcdcefc
commit
4f98f465f1
6 changed files with 59 additions and 71 deletions
|
@ -1,14 +1,15 @@
|
|||
#include "Python.h"
|
||||
#include "osdefs.h" // DELIM
|
||||
#include "pycore_fileutils.h"
|
||||
#include "pycore_getopt.h"
|
||||
#include "pycore_initconfig.h"
|
||||
#include "pycore_fileutils.h" // _Py_HasFileSystemDefaultEncodeErrors
|
||||
#include "pycore_getopt.h" // _PyOS_GetOpt()
|
||||
#include "pycore_initconfig.h" // _PyStatus_OK()
|
||||
#include "pycore_interp.h" // _PyInterpreterState.runtime
|
||||
#include "pycore_pathconfig.h"
|
||||
#include "pycore_pyerrors.h"
|
||||
#include "pycore_pylifecycle.h"
|
||||
#include "pycore_pathconfig.h" // _Py_path_config
|
||||
#include "pycore_pyerrors.h" // _PyErr_Fetch()
|
||||
#include "pycore_pylifecycle.h" // _Py_PreInitializeFromConfig()
|
||||
#include "pycore_pymem.h" // _PyMem_SetDefaultAllocator()
|
||||
#include "pycore_pystate.h" // _PyThreadState_GET()
|
||||
|
||||
#include "osdefs.h" // DELIM
|
||||
#include <locale.h> // setlocale()
|
||||
#ifdef HAVE_LANGINFO_H
|
||||
# include <langinfo.h> // nl_langinfo(CODESET)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue