##// END OF EJS Templates
parsers: use PyVarObject_HEAD_INIT...
Gregory Szorc -
r30103:74cd33c9 default
parent child Browse files
Show More
@@ -2516,8 +2516,7 b' static PyGetSetDef index_getset[] = {'
2516 };
2516 };
2517
2517
2518 static PyTypeObject indexType = {
2518 static PyTypeObject indexType = {
2519 PyObject_HEAD_INIT(NULL)
2519 PyVarObject_HEAD_INIT(NULL, 0)
2520 0, /* ob_size */
2521 "parsers.index", /* tp_name */
2520 "parsers.index", /* tp_name */
2522 sizeof(indexObject), /* tp_basicsize */
2521 sizeof(indexObject), /* tp_basicsize */
2523 0, /* tp_itemsize */
2522 0, /* tp_itemsize */
General Comments 0
You need to be logged in to leave comments. Login now