mirror of
https://github.com/python/cpython.git
synced 2025-08-24 18:55:00 +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
|
@ -17,7 +17,7 @@
|
|||
#include "pycore_list.h" // _PyList_Fini()
|
||||
#include "pycore_long.h" // _PyLong_InitTypes()
|
||||
#include "pycore_object.h" // _PyDebug_PrintTotalRefs()
|
||||
#include "pycore_pathconfig.h" // _PyConfig_WritePathConfig()
|
||||
#include "pycore_pathconfig.h" // _PyPathConfig_UpdateGlobal()
|
||||
#include "pycore_pyerrors.h" // _PyErr_Occurred()
|
||||
#include "pycore_pylifecycle.h" // _PyErr_Print()
|
||||
#include "pycore_pymem.h" // _PyObject_DebugMallocStats()
|
||||
|
@ -32,13 +32,14 @@
|
|||
#include "pycore_typevarobject.h" // _Py_clear_generic_types()
|
||||
#include "pycore_unicodeobject.h" // _PyUnicode_InitTypes()
|
||||
#include "pycore_weakref.h" // _PyWeakref_GET_REF()
|
||||
|
||||
#include "opcode.h"
|
||||
|
||||
#include <locale.h> // setlocale()
|
||||
#include <stdlib.h> // getenv()
|
||||
|
||||
#if defined(__APPLE__)
|
||||
#include <mach-o/loader.h>
|
||||
# include <mach-o/loader.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SIGNAL_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue