mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Remove nb_reserved (nb_coerce), nb_hex, and nb_oct from PyNumberMethods
This commit is contained in:
parent
624a7893ea
commit
4f92ca4022
11 changed files with 3 additions and 32 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue