mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
gh-131238: Remove more includes from pycore_interp.h (#131480)
This commit is contained in:
parent
63b5aed06e
commit
20c5f969dd
31 changed files with 92 additions and 57 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#include "Python.h"
|
||||
#include "pycore_critical_section.h" // Py_BEGIN_CRITICAL_SECTION_MUT()
|
||||
#include "pycore_frame.h" // PyFrameObject members
|
||||
#include "pycore_import.h" // _PyImport_GetModules()
|
||||
#include "pycore_interp.h" // PyInterpreterState.warnings
|
||||
#include "pycore_long.h" // _PyLong_GetZero()
|
||||
#include "pycore_pyerrors.h" // _PyErr_Occurred()
|
||||
|
|
@ -8,11 +9,12 @@
|
|||
#include "pycore_pystate.h" // _PyThreadState_GET()
|
||||
#include "pycore_sysmodule.h" // _PySys_GetOptionalAttr()
|
||||
#include "pycore_traceback.h" // _Py_DisplaySourceLine()
|
||||
#include "pycore_unicodeobject.h" // _PyUnicode_EqualToASCIIString()
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "clinic/_warnings.c.h"
|
||||
|
||||
|
||||
#define MODULE_NAME "_warnings"
|
||||
|
||||
PyDoc_STRVAR(warnings__doc__,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue