Skip to content

Commit ad434c0

Browse files
committed
fixup: None and NoneType
1 parent 222b662 commit ad434c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Objects/object.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2094,7 +2094,7 @@ static PyNumberMethods none_as_number = {
20942094
0, /* nb_negative */
20952095
0, /* nb_positive */
20962096
0, /* nb_absolute */
2097-
(inquiry)none_bool, /* nb_bool */
2097+
none_bool, /* nb_bool */
20982098
0, /* nb_invert */
20992099
0, /* nb_lshift */
21002100
0, /* nb_rshift */
@@ -2140,7 +2140,7 @@ PyTypeObject _PyNone_Type = {
21402140
&none_as_number, /*tp_as_number*/
21412141
0, /*tp_as_sequence*/
21422142
0, /*tp_as_mapping*/
2143-
(hashfunc)none_hash,/*tp_hash */
2143+
none_hash, /*tp_hash */
21442144
0, /*tp_call */
21452145
0, /*tp_str */
21462146
0, /*tp_getattro */

0 commit comments

Comments
 (0)