Issue #19356: Avoid using a C variabled named "_self", it's a reserved word in some C compilers.

This commit is contained in:
Antoine Pitrou 2013-10-23 19:20:21 +02:00
parent d5d0bc35ad
commit 09fcb72048
5 changed files with 53 additions and 50 deletions

View file

@ -809,9 +809,9 @@ element_deepcopy(ElementObject* self, PyObject* args)
}
static PyObject*
element_sizeof(PyObject* _self, PyObject* args)
element_sizeof(PyObject* myself, PyObject* args)
{
ElementObject *self = (ElementObject*)_self;
ElementObject *self = (ElementObject*)myself;
Py_ssize_t result = sizeof(ElementObject);
if (self->extra) {
result += sizeof(ElementObjectExtra);