Remove nb_reserved (nb_coerce), nb_hex, and nb_oct from PyNumberMethods

This commit is contained in:
Benjamin Peterson 2008-06-11 20:21:57 +00:00
parent 624a7893ea
commit 4f92ca4022
11 changed files with 3 additions and 32 deletions

View file

@ -1381,12 +1381,9 @@ static PyNumberMethods float_as_number = {
0, /*nb_and*/
0, /*nb_xor*/
0, /*nb_or*/
0, /*nb_reserved*/
float_trunc, /*nb_int*/
float_trunc, /*nb_long*/
float_float, /*nb_float*/
0, /* nb_oct */
0, /* nb_hex */
0, /* nb_inplace_add */
0, /* nb_inplace_subtract */
0, /* nb_inplace_multiply */