From: Thomas Wouters Date: Sun, 23 Jul 2000 22:09:59 +0000 (+0000) Subject: ANSIfy functions that were hiding inside a macro. X-Git-Tag: v2.0b1~753 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c307352027ba146150a8f5a56be0ed317fcd4323;p=python ANSIfy functions that were hiding inside a macro. --- diff --git a/Objects/classobject.c b/Objects/classobject.c index d1eb451e8e..3b97a0258d 100644 --- a/Objects/classobject.c +++ b/Objects/classobject.c @@ -1314,7 +1314,7 @@ instance_coerce(PyObject **pv, PyObject **pw) #define UNARY(funcname, methodname) \ -static PyObject *funcname(self) PyInstanceObject *self; { \ +static PyObject *funcname(PyInstanceObject *self) { \ static PyObject *o; \ if (o == NULL) o = PyString_InternFromString(methodname); \ return generic_unary_op(self, o); \