PyNumberMethods needed ifdefs for python3.x and some other corrections.

This commit is contained in:
2009-06-28 13:27:06 +00:00
parent 7d88981a24
commit 1b5851b4f9
6 changed files with 139 additions and 8 deletions

View File

@@ -1244,7 +1244,7 @@ PyObject *BaseMathObject_getOwner( BaseMathObject * self, void *type )
PyObject *BaseMathObject_getWrapped( BaseMathObject *self, void *type )
{
PyBool_FromLong((self->wrapped == Py_WRAP) ? 1:0);
return PyBool_FromLong((self->wrapped == Py_WRAP) ? 1:0);
}
void BaseMathObject_dealloc(BaseMathObject * self)