Commit f66ef16a authored by Guido van Rossum's avatar Guido van Rossum

Added NULL function pointers for shift and mask ops.

parent 82e1ed38
......@@ -314,6 +314,12 @@ static number_methods float_as_number = {
float_pos, /*nb_positive*/
float_abs, /*nb_absolute*/
float_nonzero, /*nb_nonzero*/
0, /*nb_invert*/
0, /*nb_lshift*/
0, /*nb_rshift*/
0, /*nb_and*/
0, /*nb_xor*/
0, /*nb_or*/
};
typeobject Floattype = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment