mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Get rid of most of the rest of coerce (slot is still there for now).
This commit is contained in:
parent
79212998a8
commit
4886cc331f
19 changed files with 131 additions and 497 deletions
|
|
@ -444,7 +444,6 @@ static PyNumberMethods PyHKEY_NumberMethods =
|
|||
PyHKEY_binaryFailureFunc, /* nb_and */
|
||||
PyHKEY_binaryFailureFunc, /* nb_xor */
|
||||
PyHKEY_binaryFailureFunc, /* nb_or */
|
||||
0, /* nb_coerce (allowed to be zero) */
|
||||
PyHKEY_intFunc, /* nb_int */
|
||||
PyHKEY_unaryFailureFunc, /* nb_long */
|
||||
PyHKEY_unaryFailureFunc, /* nb_float */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue