mirror of
https://github.com/python/cpython.git
synced 2025-08-23 18:24:46 +00:00
gh-108765: Cleanup #include in Python/*.c files (#108977)
Mention one symbol imported by each #include.
This commit is contained in:
parent
14d6e197cc
commit
b298b395e8
18 changed files with 57 additions and 48 deletions
|
@ -1,13 +1,15 @@
|
|||
/* Path configuration like module_search_path (sys.path) */
|
||||
|
||||
#include "Python.h"
|
||||
#include "marshal.h" // PyMarshal_ReadObjectFromString
|
||||
#include "osdefs.h" // DELIM
|
||||
#include "pycore_initconfig.h"
|
||||
#include "pycore_fileutils.h"
|
||||
#include "pycore_initconfig.h" // _PyStatus_OK()
|
||||
#include "pycore_fileutils.h" // _Py_wgetcwd()
|
||||
#include "pycore_pathconfig.h"
|
||||
#include "pycore_pymem.h" // _PyMem_SetDefaultAllocator()
|
||||
#include <wchar.h>
|
||||
|
||||
#include "marshal.h" // PyMarshal_ReadObjectFromString
|
||||
#include "osdefs.h" // DELIM
|
||||
|
||||
#ifdef MS_WINDOWS
|
||||
# include <windows.h> // GetFullPathNameW(), MAX_PATH
|
||||
# include <pathcch.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue