mirror of
https://github.com/python/cpython.git
synced 2025-12-09 18:48:05 +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
|
|
@ -3713,12 +3713,9 @@ static PyNumberMethods long_as_number = {
|
|||
long_and, /*nb_and*/
|
||||
long_xor, /*nb_xor*/
|
||||
long_or, /*nb_or*/
|
||||
0, /*nb_reserved*/
|
||||
long_long, /*nb_int*/
|
||||
long_long, /*nb_long*/
|
||||
long_float, /*nb_float*/
|
||||
0, /*nb_oct*/ /* not used */
|
||||
0, /*nb_hex*/ /* not used */
|
||||
0, /* nb_inplace_add */
|
||||
0, /* nb_inplace_subtract */
|
||||
0, /* nb_inplace_multiply */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue