Mercurial > cpython-lru_cache-weakref
diff Objects/weakrefobject.c @ 50866:8325eb041921 3.0
Merged revisions 68675 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r68675 | mark.dickinson | 2009-01-17 21:57:11 +0000 (Sat, 17 Jan 2009) | 2 lines
Replace PyNumber_Int with PyNumber_Long.
........
| author | Mark Dickinson <dickinsm@gmail.com> |
|---|---|
| date | Sun, 18 Jan 2009 11:01:50 +0000 |
| parents | af02b6e42142 |
| children | 87fbbf22adf3 |
line wrap: on
line diff
--- a/Objects/weakrefobject.c Sun Jan 18 03:31:52 2009 +0000 +++ b/Objects/weakrefobject.c Sun Jan 18 11:01:50 2009 +0000 @@ -488,7 +488,7 @@ 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)
