Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9b1d33b

Browse files
committed
Use correct prototype for invert().
1 parent cdc9355 commit 9b1d33b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/ceval.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1532,7 +1532,7 @@ static object *
15321532
invert(v)
15331533
object *v;
15341534
{
1535-
object * (*f) FPROTO((object *, object *));
1535+
object * (*f) FPROTO((object *));
15361536
if (v->ob_type->tp_as_number != NULL &&
15371537
(f = v->ob_type->tp_as_number->nb_invert) != NULL)
15381538
return (*f)(v);

0 commit comments

Comments
 (0)