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

@ -594,12 +594,9 @@ static PyNumberMethods proxy_as_number = {
proxy_and, /*nb_and*/
proxy_xor, /*nb_xor*/
proxy_or, /*nb_or*/
0, /*nb_reserved*/
proxy_int, /*nb_int*/
proxy_long, /*nb_long*/
proxy_float, /*nb_float*/
0, /*nb_oct*/
0, /*nb_hex*/
proxy_iadd, /*nb_inplace_add*/
proxy_isub, /*nb_inplace_subtract*/
proxy_imul, /*nb_inplace_multiply*/