Mercurial > cpython-lru_cache-weakref
diff Python/ceval.c @ 671:10002e1bc526 legacy-trunk
Use correct prototype for invert().
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Tue, 11 Feb 1992 15:56:02 +0000 |
| parents | 7e5f4d9aee77 |
| children | 5b71863c801d |
line wrap: on
line diff
--- a/Python/ceval.c Tue Feb 11 15:53:13 1992 +0000 +++ b/Python/ceval.c Tue Feb 11 15:56:02 1992 +0000 @@ -1532,7 +1532,7 @@ invert(v) object *v; { - object * (*f) FPROTO((object *, object *)); + object * (*f) FPROTO((object *)); if (v->ob_type->tp_as_number != NULL && (f = v->ob_type->tp_as_number->nb_invert) != NULL) return (*f)(v);
