From 27acb3379e7349b0ca33e007919bee17882a59a3 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 24 Oct 1991 14:55:28 +0000 Subject: [PATCH] Added NULL function pointers for shift and mask ops. --- Objects/floatobject.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Objects/floatobject.c b/Objects/floatobject.c index d89e1cb334c..09667523138 100644 --- a/Objects/floatobject.c +++ b/Objects/floatobject.c @@ -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 = {