mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Use correct prototype for invert().
This commit is contained in:
parent
cdc9355367
commit
9b1d33b105
1 changed files with 1 additions and 1 deletions
|
@ -1532,7 +1532,7 @@ static object *
|
||||||
invert(v)
|
invert(v)
|
||||||
object *v;
|
object *v;
|
||||||
{
|
{
|
||||||
object * (*f) FPROTO((object *, object *));
|
object * (*f) FPROTO((object *));
|
||||||
if (v->ob_type->tp_as_number != NULL &&
|
if (v->ob_type->tp_as_number != NULL &&
|
||||||
(f = v->ob_type->tp_as_number->nb_invert) != NULL)
|
(f = v->ob_type->tp_as_number->nb_invert) != NULL)
|
||||||
return (*f)(v);
|
return (*f)(v);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue