diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-03-22 09:28:35 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-03-22 09:28:35 (GMT) |
commit | 227b5339edcdcc9ca6322a2217b75db11b69048f (patch) | |
tree | 8829d0c1b2ac9474b386499ca0fda37700f72bd8 /Modules/_elementtree.c | |
parent | 914a81841f881122f95eb5a9330a3ef96de174cd (diff) | |
download | cpython-227b5339edcdcc9ca6322a2217b75db11b69048f.zip cpython-227b5339edcdcc9ca6322a2217b75db11b69048f.tar.gz cpython-227b5339edcdcc9ca6322a2217b75db11b69048f.tar.bz2 |
Finish getting rid of statichere/staticforward
Diffstat (limited to 'Modules/_elementtree.c')
-rw-r--r-- | Modules/_elementtree.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Modules/_elementtree.c b/Modules/_elementtree.c index 06ae24c..7e36ea3 100644 --- a/Modules/_elementtree.c +++ b/Modules/_elementtree.c @@ -267,7 +267,7 @@ typedef struct { } ElementObject; -staticforward PyTypeObject Element_Type; +static PyTypeObject Element_Type; #define Element_CheckExact(op) ((op)->ob_type == &Element_Type) @@ -1396,7 +1396,7 @@ static PySequenceMethods element_as_sequence = { element_setslice, }; -statichere PyTypeObject Element_Type = { +static PyTypeObject Element_Type = { PyObject_HEAD_INIT(NULL) 0, "Element", sizeof(ElementObject), 0, /* methods */ @@ -1435,7 +1435,7 @@ typedef struct { } TreeBuilderObject; -staticforward PyTypeObject TreeBuilder_Type; +static PyTypeObject TreeBuilder_Type; #define TreeBuilder_CheckExact(op) ((op)->ob_type == &TreeBuilder_Type) @@ -1805,7 +1805,7 @@ treebuilder_getattr(TreeBuilderObject* self, char* name) return Py_FindMethod(treebuilder_methods, (PyObject*) self, name); } -statichere PyTypeObject TreeBuilder_Type = { +static PyTypeObject TreeBuilder_Type = { PyObject_HEAD_INIT(NULL) 0, "TreeBuilder", sizeof(TreeBuilderObject), 0, /* methods */ @@ -1849,7 +1849,7 @@ typedef struct { } XMLParserObject; -staticforward PyTypeObject XMLParser_Type; +static PyTypeObject XMLParser_Type; /* helpers */ @@ -2580,7 +2580,7 @@ xmlparser_getattr(XMLParserObject* self, char* name) return res; } -statichere PyTypeObject XMLParser_Type = { +static PyTypeObject XMLParser_Type = { PyObject_HEAD_INIT(NULL) 0, "XMLParser", sizeof(XMLParserObject), 0, /* methods */ |