summaryrefslogtreecommitdiffstats
path: root/Objects/weakrefobject.c
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-01-17 21:57:11 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-01-17 21:57:11 (GMT)
commit17c7cd8d02361a104aaff4de20b2beb524ae3f47 (patch)
tree994df3e5fcd01776f52b062203fd9d59031d2a57 /Objects/weakrefobject.c
parente4bc7f69c28b7edfbc9ccdf7be6b5249b38f6cbd (diff)
downloadcpython-17c7cd8d02361a104aaff4de20b2beb524ae3f47.zip
cpython-17c7cd8d02361a104aaff4de20b2beb524ae3f47.tar.gz
cpython-17c7cd8d02361a104aaff4de20b2beb524ae3f47.tar.bz2
Replace PyNumber_Int with PyNumber_Long.
Diffstat (limited to 'Objects/weakrefobject.c')
-rw-r--r--Objects/weakrefobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/weakrefobject.c b/Objects/weakrefobject.c
index b65e5fd..aa65573 100644
--- a/Objects/weakrefobject.c
+++ b/Objects/weakrefobject.c
@@ -488,7 +488,7 @@ WRAP_BINARY(proxy_rshift, PyNumber_Rshift)
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_int, PyNumber_Long)
WRAP_UNARY(proxy_float, PyNumber_Float)
WRAP_BINARY(proxy_iadd, PyNumber_InPlaceAdd)
WRAP_BINARY(proxy_isub, PyNumber_InPlaceSubtract)