Author: guido.van.rossum
Date: Thu Aug 17 07:40:03 2006
New Revision: 51335

Modified:
   python/branches/p3yk/Modules/pyexpat.c
Log:
Get rid of the last mention of WITH_CYCLE_GC that I could find.


Modified: python/branches/p3yk/Modules/pyexpat.c
==============================================================================
--- python/branches/p3yk/Modules/pyexpat.c      (original)
+++ python/branches/p3yk/Modules/pyexpat.c      Thu Aug 17 07:40:03 2006
@@ -1665,7 +1665,6 @@
     return -1;
 }
 
-#ifdef WITH_CYCLE_GC
 static int
 xmlparse_traverse(xmlparseobject *op, visitproc visit, void *arg)
 {
@@ -1682,7 +1681,6 @@
     Py_CLEAR(op->intern);
     return 0;
 }
-#endif
 
 PyDoc_STRVAR(Xmlparsetype__doc__, "XML parser");
 
@@ -1714,12 +1712,8 @@
        Py_TPFLAGS_DEFAULT | Py_TPFLAGS_GC, /*tp_flags*/
 #endif
        Xmlparsetype__doc__, /* tp_doc - Documentation string */
-#ifdef WITH_CYCLE_GC
        (traverseproc)xmlparse_traverse,        /* tp_traverse */
        (inquiry)xmlparse_clear         /* tp_clear */
-#else
-       0, 0
-#endif
 };
 
 /* End of code for xmlparser objects */
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to