"_self" is a said to be a reserved word in Watcom C 10.6. I'm

not sure that's really standard compliant behaviour, but I guess
we have to fix that anyway...
This commit is contained in:
Fredrik Lundh 2006-06-03 21:56:05 +00:00
parent 36f6d77931
commit 81707f1a8c
1 changed files with 2 additions and 2 deletions

View File

@ -1476,7 +1476,7 @@ treebuilder_new(void)
}
static PyObject*
treebuilder(PyObject* _self, PyObject* args)
treebuilder(PyObject* self_, PyObject* args)
{
if (!PyArg_ParseTuple(args, ":TreeBuilder"))
return NULL;
@ -2201,7 +2201,7 @@ expat_unknown_encoding_handler(XMLParserObject *self, const XML_Char *name,
/* constructor and destructor */
static PyObject*
xmlparser(PyObject* _self, PyObject* args, PyObject* kw)
xmlparser(PyObject* self_, PyObject* args, PyObject* kw)
{
XMLParserObject* self;
/* FIXME: does this need to be static? */