Address Heime's review: Don't define globals twice

This commit is contained in:
Erlend E. Aasland 2020-11-23 12:09:45 +01:00
parent 3ae83fc5ba
commit 5f584aa672
No known key found for this signature in database
GPG Key ID: E323E17E686C7B5F
1 changed files with 0 additions and 8 deletions

View File

@ -2258,8 +2258,6 @@ static PyType_Spec elementiter_spec = {
.slots = elementiter_slots,
};
static PyTypeObject *ElementIter_Type = NULL;
#define INIT_PARENT_STACK_SIZE 8
static PyObject *
@ -4216,8 +4214,6 @@ static PyType_Spec element_spec = {
.slots = element_slots,
};
static PyTypeObject *Element_Type = NULL;
static PyMethodDef treebuilder_methods[] = {
_ELEMENTTREE_TREEBUILDER_DATA_METHODDEF
_ELEMENTTREE_TREEBUILDER_START_METHODDEF
@ -4246,8 +4242,6 @@ static PyType_Spec treebuilder_spec = {
.slots = treebuilder_slots,
};
static PyTypeObject *TreeBuilder_Type = NULL;
static PyMethodDef xmlparser_methods[] = {
_ELEMENTTREE_XMLPARSER_FEED_METHODDEF
_ELEMENTTREE_XMLPARSER_CLOSE_METHODDEF
@ -4276,8 +4270,6 @@ static PyType_Spec xmlparser_spec = {
.slots = xmlparser_slots,
};
static PyTypeObject *XMLParser_Type = NULL;
/* ==================================================================== */
/* python module interface */