summaryrefslogtreecommitdiffstats
path: root/Objects/classobject.c
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2000-07-23 22:09:59 (GMT)
committerThomas Wouters <thomas@python.org>2000-07-23 22:09:59 (GMT)
commitc307352027ba146150a8f5a56be0ed317fcd4323 (patch)
treebf0cbd0834cf6e40939f6e9a5d85255bd9c8537e /Objects/classobject.c
parent8a3ebf8ca87a7d2989148d7c218974ab4235ca5d (diff)
downloadcpython-c307352027ba146150a8f5a56be0ed317fcd4323.zip
cpython-c307352027ba146150a8f5a56be0ed317fcd4323.tar.gz
cpython-c307352027ba146150a8f5a56be0ed317fcd4323.tar.bz2
ANSIfy functions that were hiding inside a macro.
Diffstat (limited to 'Objects/classobject.c')
-rw-r--r--Objects/classobject.c2
1 files changed, 1 insertions, 1 deletions
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 @@ 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); \