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,
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins