]> granicus.if.org Git - python/commitdiff
ANSIfy functions that were hiding inside a macro.
authorThomas Wouters <thomas@python.org>
Sun, 23 Jul 2000 22:09:59 +0000 (22:09 +0000)
committerThomas Wouters <thomas@python.org>
Sun, 23 Jul 2000 22:09:59 +0000 (22:09 +0000)
Objects/classobject.c

index d1eb451e8e841f56981ca79e2803532e28ba4753..3b97a0258d74eecce229166c39d7af92fb6baeda 100644 (file)
@@ -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); \