diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2009-01-15 19:32:23 +0000 |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2009-01-15 19:32:23 +0000 |
commit | 230ecfb23fad73fd8884a1d8b1382a1438e010a7 (patch) | |
tree | 8d62f12cc400ff36abe49b6c354afa2466ae9d48 /Objects/weakrefobject.c | |
parent | 3676522a84e683ef64209c8bd10c4f213cf6f0d6 (diff) | |
download | cpython-230ecfb23fad73fd8884a1d8b1382a1438e010a7.tar.gz |
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.
Diffstat (limited to 'Objects/weakrefobject.c')
-rw-r--r-- | Objects/weakrefobject.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Objects/weakrefobject.c b/Objects/weakrefobject.c index faa0f86f99..538b21cbf4 100644 --- a/Objects/weakrefobject.c +++ b/Objects/weakrefobject.c @@ -489,7 +489,6 @@ WRAP_BINARY(proxy_and, PyNumber_And) WRAP_BINARY(proxy_xor, PyNumber_Xor) WRAP_BINARY(proxy_or, PyNumber_Or) WRAP_UNARY(proxy_int, PyNumber_Int) -WRAP_UNARY(proxy_long, PyNumber_Long) WRAP_UNARY(proxy_float, PyNumber_Float) WRAP_BINARY(proxy_iadd, PyNumber_InPlaceAdd) WRAP_BINARY(proxy_isub, PyNumber_InPlaceSubtract) @@ -595,7 +594,7 @@ static PyNumberMethods proxy_as_number = { proxy_xor, /*nb_xor*/ proxy_or, /*nb_or*/ proxy_int, /*nb_int*/ - proxy_long, /*nb_long*/ + 0, /*nb_long*/ proxy_float, /*nb_float*/ proxy_iadd, /*nb_inplace_add*/ proxy_isub, /*nb_inplace_subtract*/ |