]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Added NULL function pointers for shift and mask ops.
authorGuido van Rossum <guido@python.org>
Thu, 24 Oct 1991 14:55:28 +0000 (14:55 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 24 Oct 1991 14:55:28 +0000 (14:55 +0000)
Objects/floatobject.c

index d89e1cb334cefb0bc8bb63802651f648e98ff54a..0966752313888feca4c4416adaed42a1e378f68a 100644 (file)
@@ -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 = {