summaryrefslogtreecommitdiffstats
path: root/Modules/pyexpat.c
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-01-04 00:00:31 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2011-01-04 00:00:31 (GMT)
commit23683ef26d19581a61594c76a45af014c1ff7b13 (patch)
tree2b3f875d4b8359616777772cb7f557d969963e9d /Modules/pyexpat.c
parentcae969e70afd4e02d9543c3a18f089a1c66de982 (diff)
downloadcpython-23683ef26d19581a61594c76a45af014c1ff7b13.zip
cpython-23683ef26d19581a61594c76a45af014c1ff7b13.tar.gz
cpython-23683ef26d19581a61594c76a45af014c1ff7b13.tar.bz2
Issue #10333: Remove ancient GC API, which has been deprecated since
Python 2.2.
Diffstat (limited to 'Modules/pyexpat.c')
-rw-r--r--Modules/pyexpat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c
index 1a00347..c83639c 100644
--- a/Modules/pyexpat.c
+++ b/Modules/pyexpat.c
@@ -1522,7 +1522,7 @@ PyDoc_STRVAR(Xmlparsetype__doc__, "XML parser");
static PyTypeObject Xmlparsetype = {
PyVarObject_HEAD_INIT(NULL, 0)
"pyexpat.xmlparser", /*tp_name*/
- sizeof(xmlparseobject) + PyGC_HEAD_SIZE,/*tp_basicsize*/
+ sizeof(xmlparseobject), /*tp_basicsize*/
0, /*tp_itemsize*/
/* methods */
(destructor)xmlparse_dealloc, /*tp_dealloc*/