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

@ -215,13 +215,9 @@ typedef struct {
binaryfunc nb_and;
binaryfunc nb_xor;
binaryfunc nb_or;
int nb_reserved; /* unused, used to be nb_coerce */
unaryfunc nb_int;
unaryfunc nb_long;
unaryfunc nb_float;
/* NB: nb_oct and nb_hex are not used anymore. */
unaryfunc nb_oct;
unaryfunc nb_hex;
binaryfunc nb_inplace_add;
binaryfunc nb_inplace_subtract;