summaryrefslogtreecommitdiffstats
path: root/Python/errors.c
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2025-03-17 14:41:05 (GMT)
committerGitHub <noreply@github.com>2025-03-17 14:41:05 (GMT)
commita45f25361d582ce742fef7f23e7feadd19b67460 (patch)
treea1f01aa47d31890f34b63257270501c1e7dda872 /Python/errors.c
parentbb0268f60dfe903a9bdb8d84104247a9318c6b18 (diff)
downloadcpython-a45f25361d582ce742fef7f23e7feadd19b67460.zip
cpython-a45f25361d582ce742fef7f23e7feadd19b67460.tar.gz
cpython-a45f25361d582ce742fef7f23e7feadd19b67460.tar.bz2
GH-131238: More refactoring of core header files (GH-131351)
Adds new pycore_stats.h header file to help break dependencies involving the pycore_code.h header.
Diffstat (limited to 'Python/errors.c')
-rw-r--r--Python/errors.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/errors.c b/Python/errors.c
index d2f3312..04b0be0 100644
--- a/Python/errors.c
+++ b/Python/errors.c
@@ -4,6 +4,7 @@
#include "Python.h"
#include "pycore_audit.h" // _PySys_Audit()
#include "pycore_call.h" // _PyObject_CallNoArgs()
+#include "pycore_fileutils.h" // _PyFile_Flush
#include "pycore_initconfig.h" // _PyStatus_ERR()
#include "pycore_pyerrors.h" // _PyErr_Format()
#include "pycore_pystate.h" // _PyThreadState_GET()