summaryrefslogtreecommitdiffstats
path: root/Modules/_io/fileio.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2021-10-13 13:03:35 (GMT)
committerGitHub <noreply@github.com>2021-10-13 13:03:35 (GMT)
commit97308dfcdc0696e0b116c37386e2ff4d72e6c3f4 (patch)
treea827f813979840eb28c66d5b74ab6f653fe51207 /Modules/_io/fileio.c
parent7cdc2a0f4b785327ad9d55312409a06e554df3d5 (diff)
downloadcpython-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 'Modules/_io/fileio.c')
-rw-r--r--Modules/_io/fileio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/_io/fileio.c b/Modules/_io/fileio.c
index b9856b3..dd215e8 100644
--- a/Modules/_io/fileio.c
+++ b/Modules/_io/fileio.c
@@ -2,7 +2,8 @@
#define PY_SSIZE_T_CLEAN
#include "Python.h"
-#include "pycore_object.h"
+#include "pycore_fileutils.h" // _Py_BEGIN_SUPPRESS_IPH
+#include "pycore_object.h" // _PyObject_GC_UNTRACK()
#include "structmember.h" // PyMemberDef
#include <stdbool.h>
#ifdef HAVE_SYS_TYPES_H