diff options
author | Victor Stinner <vstinner@python.org> | 2021-10-13 13:03:35 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-13 13:03:35 (GMT) |
commit | 97308dfcdc0696e0b116c37386e2ff4d72e6c3f4 (patch) | |
tree | a827f813979840eb28c66d5b74ab6f653fe51207 /Python/traceback.c | |
parent | 7cdc2a0f4b785327ad9d55312409a06e554df3d5 (diff) | |
download | cpython-97308dfcdc0696e0b116c37386e2ff4d72e6c3f4.zip cpython-97308dfcdc0696e0b116c37386e2ff4d72e6c3f4.tar.gz cpython-97308dfcdc0696e0b116c37386e2ff4d72e6c3f4.tar.bz2 |
bpo-45434: Move _Py_BEGIN_SUPPRESS_IPH to pycore_fileutils.h (GH-28922)
Diffstat (limited to 'Python/traceback.c')
-rw-r--r-- | Python/traceback.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Python/traceback.c b/Python/traceback.c index 3ea1db5..ffa7c34 100644 --- a/Python/traceback.c +++ b/Python/traceback.c @@ -4,11 +4,12 @@ #include "Python.h" #include "code.h" // PyCode_Addr2Line etc -#include "pycore_interp.h" // PyInterpreterState.gc #include "frameobject.h" // PyFrame_GetBack() #include "pycore_ast.h" // asdl_seq_* #include "pycore_compile.h" // _PyAST_Optimize +#include "pycore_fileutils.h" // _Py_BEGIN_SUPPRESS_IPH #include "pycore_frame.h" // _PyFrame_GetCode() +#include "pycore_interp.h" // PyInterpreterState.gc #include "pycore_parser.h" // _PyParser_ASTFromString #include "pycore_pyarena.h" // _PyArena_Free() #include "pycore_pyerrors.h" // _PyErr_Fetch() @@ -17,7 +18,7 @@ #include "structmember.h" // PyMemberDef #include "osdefs.h" // SEP #ifdef HAVE_FCNTL_H -#include <fcntl.h> +# include <fcntl.h> #endif #define OFF(x) offsetof(PyTracebackObject, x) |