diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2009-01-15 19:32:23 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2009-01-15 19:32:23 (GMT) |
commit | cce2f217d403dff7344fcc1c381e36dfd075a961 (patch) | |
tree | 87189334129e9ca408a823ea98d3b1dd512addd3 /PC | |
parent | 29500f64b609e312e72150f0539c4508d650656b (diff) | |
download | cpython-cce2f217d403dff7344fcc1c381e36dfd075a961.zip cpython-cce2f217d403dff7344fcc1c381e36dfd075a961.tar.gz cpython-cce2f217d403dff7344fcc1c381e36dfd075a961.tar.bz2 |
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 'PC')
-rw-r--r-- | PC/winreg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/winreg.c b/PC/winreg.c index 7d1d816..7316fcd 100644 --- a/PC/winreg.c +++ b/PC/winreg.c @@ -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 */ }; |