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
|
@ -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*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue