Issue 4910, patch 2 of (probably) 3: pave the way for renaming of

nb_long:  remove last remaining use of nb_long
(in the struct module) from the core, set nb_long slots on all builtin
and extension types to 0, and remove uses of __long__ in test_complex
and test_binop.

Reviewed by Benjamin Peterson.
This commit is contained in:
Mark Dickinson 2009-01-15 19:32:23 +00:00
parent 29500f64b6
commit cce2f217d4
8 changed files with 8 additions and 25 deletions

View file

@ -451,7 +451,7 @@ static PyNumberMethods PyHKEY_NumberMethods =
PyHKEY_binaryFailureFunc, /* nb_xor */
PyHKEY_binaryFailureFunc, /* nb_or */
PyHKEY_intFunc, /* nb_int */
PyHKEY_unaryFailureFunc, /* nb_long */
0, /* nb_long */
PyHKEY_unaryFailureFunc, /* nb_float */
};