Mercurial > cpython-lru_cache-weakref
diff Objects/classobject.c @ 13678:3177e2829167 legacy-trunk
ANSIfy functions that were hiding inside a macro.
| author | Thomas Wouters <thomas@python.org> |
|---|---|
| date | Sun, 23 Jul 2000 22:09:59 +0000 |
| parents | 5b727ab37092 |
| children | 91f847a783d2 |
line wrap: on
line diff
--- a/Objects/classobject.c Sun Jul 23 21:46:17 2000 +0000 +++ b/Objects/classobject.c Sun Jul 23 22:09:59 2000 +0000 @@ -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); \
