diff options
author | Guido van Rossum <guido@python.org> | 2006-08-17 05:40:03 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2006-08-17 05:40:03 (GMT) |
commit | d033ddf4dc501e0920adec9e193750e515bbd128 (patch) | |
tree | 1f4e11d87575906d8b71dcbb5d2d1b5caa5bc83b | |
parent | 0e3f591aeeef9ed715f8770320f4c4c7332a8794 (diff) | |
download | cpython-d033ddf4dc501e0920adec9e193750e515bbd128.zip cpython-d033ddf4dc501e0920adec9e193750e515bbd128.tar.gz cpython-d033ddf4dc501e0920adec9e193750e515bbd128.tar.bz2 |
Get rid of the last mention of WITH_CYCLE_GC that I could find.
-rw-r--r-- | Modules/pyexpat.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c index 67f7007..603beed 100644 --- a/Modules/pyexpat.c +++ b/Modules/pyexpat.c @@ -1665,7 +1665,6 @@ xmlparse_setattr(xmlparseobject *self, char *name, PyObject *v) return -1; } -#ifdef WITH_CYCLE_GC static int xmlparse_traverse(xmlparseobject *op, visitproc visit, void *arg) { @@ -1682,7 +1681,6 @@ xmlparse_clear(xmlparseobject *op) Py_CLEAR(op->intern); return 0; } -#endif PyDoc_STRVAR(Xmlparsetype__doc__, "XML parser"); @@ -1714,12 +1712,8 @@ static PyTypeObject Xmlparsetype = { 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 */ |