commit | c307352027ba146150a8f5a56be0ed317fcd4323 | [log] [tgz] |
---|---|---|
author | Thomas Wouters <thomas@python.org> | Sun Jul 23 22:09:59 2000 +0000 |
committer | Thomas Wouters <thomas@python.org> | Sun Jul 23 22:09:59 2000 +0000 |
tree | bf0cbd0834cf6e40939f6e9a5d85255bd9c8537e | |
parent | 8a3ebf8ca87a7d2989148d7c218974ab4235ca5d [diff] |
ANSIfy functions that were hiding inside a macro.
diff --git a/Objects/classobject.c b/Objects/classobject.c index d1eb451..3b97a02 100644 --- a/Objects/classobject.c +++ b/Objects/classobject.c
@@ -1314,7 +1314,7 @@ #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); \