mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +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
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue