Commit 9b1d33b1 authored by Guido van Rossum's avatar Guido van Rossum

Use correct prototype for invert().

parent cdc93553
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment