[Python-3000-checkins] r54231 - python/branches/p3yk/Modules/_fileio.c
collin.winter
python-3000-checkins at python.org
Thu Mar 8 22:46:18 CET 2007
Author: collin.winter
Date: Thu Mar 8 22:46:15 2007
New Revision: 54231
Modified:
python/branches/p3yk/Modules/_fileio.c
Log:
Add a missing forward declaration for PyFileIO_Type. The _fileio module now compiles with --with-pydebug.
Modified: python/branches/p3yk/Modules/_fileio.c
==============================================================================
--- python/branches/p3yk/Modules/_fileio.c (original)
+++ python/branches/p3yk/Modules/_fileio.c Thu Mar 8 22:46:15 2007
@@ -44,6 +44,8 @@
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,
More information about the Python-3000-checkins
mailing list