Skip to content

Commit 47bc0ee

Browse files
committed
fixup: bool_invert
1 parent 2fea60f commit 47bc0ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/boolobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ static PyNumberMethods bool_as_number = {
130130
0, /* nb_positive */
131131
0, /* nb_absolute */
132132
0, /* nb_bool */
133-
(unaryfunc)bool_invert, /* nb_invert */
133+
bool_invert, /* nb_invert */
134134
0, /* nb_lshift */
135135
0, /* nb_rshift */
136136
bool_and, /* nb_and */

0 commit comments

Comments
 (0)