summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/_fileio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/_fileio.c b/Modules/_fileio.c
index 9ab27c1..adbf01b 100644
--- a/Modules/_fileio.c
+++ b/Modules/_fileio.c
@@ -44,6 +44,8 @@ typedef struct {
PyObject *weakreflist;
} PyFileIOObject;
+PyTypeObject PyFileIO_Type;
+
#define PyFileIO_Check(op) (PyObject_TypeCheck((op), &PyFileIO_Type))
/* Note: if this function is changed so that it can return a true value,