Message193227
Good catch!
ElementIter_Type has no prototype, too.
$ grep Type Modules/_elementtree.c | grep static
static PyTypeObject Element_Type;
static PyTypeObject Element_Type = {
static PyTypeObject ElementIter_Type = {
static PyTypeObject TreeBuilder_Type;
static PyTypeObject TreeBuilder_Type = {
static PyTypeObject XMLParser_Type;
static PyTypeObject XMLParser_Type = {
How about you move the prototypes for all four types to the head of the file? For example the ssl.c module declares all types up front. It makes it more clear which types are defined by the module. |
|
Date |
User |
Action |
Args |
2013-07-17 13:16:45 | christian.heimes | set | recipients:
+ christian.heimes, ronaldoussoren |
2013-07-17 13:16:45 | christian.heimes | set | messageid: <1374067005.64.0.991929060846.issue18480@psf.upfronthosting.co.za> |
2013-07-17 13:16:45 | christian.heimes | link | issue18480 messages |
2013-07-17 13:16:45 | christian.heimes | create | |
|