summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-02-11 15:56:02 (GMT)
committerGuido van Rossum <guido@python.org>1992-02-11 15:56:02 (GMT)
commit9b1d33b105e33a4bb780db1652688e6b98fed31e (patch)
treeae3a814cc2002b26bfca9dfedd87ab074e2b30d0
parentcdc9355367e65de1674c5a17e88c768bb1b279c9 (diff)
downloadcpython-9b1d33b105e33a4bb780db1652688e6b98fed31e.zip
cpython-9b1d33b105e33a4bb780db1652688e6b98fed31e.tar.gz
cpython-9b1d33b105e33a4bb780db1652688e6b98fed31e.tar.bz2
Use correct prototype for invert().
-rw-r--r--Python/ceval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index 653b1cd..1c3a610 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -1532,7 +1532,7 @@ static object *
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);