We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 222b662 commit ad434c0Copy full SHA for ad434c0
1 file changed
Objects/object.c
@@ -2094,7 +2094,7 @@ static PyNumberMethods none_as_number = {
2094
0, /* nb_negative */
2095
0, /* nb_positive */
2096
0, /* nb_absolute */
2097
- (inquiry)none_bool, /* nb_bool */
+ none_bool, /* nb_bool */
2098
0, /* nb_invert */
2099
0, /* nb_lshift */
2100
0, /* nb_rshift */
@@ -2140,7 +2140,7 @@ PyTypeObject _PyNone_Type = {
2140
&none_as_number, /*tp_as_number*/
2141
0, /*tp_as_sequence*/
2142
0, /*tp_as_mapping*/
2143
- (hashfunc)none_hash,/*tp_hash */
+ none_hash, /*tp_hash */
2144
0, /*tp_call */
2145
0, /*tp_str */
2146
0, /*tp_getattro */
0 commit comments