diff options
author | Guido van Rossum <guido@python.org> | 1991-10-24 14:55:28 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1991-10-24 14:55:28 (GMT) |
commit | 27acb3379e7349b0ca33e007919bee17882a59a3 (patch) | |
tree | 4efad493ccc942eacca26dbf261ebc6e987d5e9f /Objects/floatobject.c | |
parent | 006bcd42ac082f05560f60577c08c957a8d38371 (diff) | |
download | cpython-27acb3379e7349b0ca33e007919bee17882a59a3.zip cpython-27acb3379e7349b0ca33e007919bee17882a59a3.tar.gz cpython-27acb3379e7349b0ca33e007919bee17882a59a3.tar.bz2 |
Added NULL function pointers for shift and mask ops.
Diffstat (limited to 'Objects/floatobject.c')
-rw-r--r-- | Objects/floatobject.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Objects/floatobject.c b/Objects/floatobject.c index d89e1cb..0966752 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 = { |