mirror of https://github.com/python/cpython.git
Use correct prototype for invert().
This commit is contained in:
parent
cdc9355367
commit
9b1d33b105
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue