summaryrefslogtreecommitdiffstats
path: root/Doc/library/weakref.rst
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-05-08 15:26:30 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-05-08 15:26:30 (GMT)
commit905982b6f9d1538b2e15f834b737a2d86f672dfd (patch)
treec4e7836327d3ee133b69d17490978845895263b0 /Doc/library/weakref.rst
parent16f3e90af71cc3c53f2509919f32303e53a22401 (diff)
downloadcpython-905982b6f9d1538b2e15f834b737a2d86f672dfd.zip
cpython-905982b6f9d1538b2e15f834b737a2d86f672dfd.tar.gz
cpython-905982b6f9d1538b2e15f834b737a2d86f672dfd.tar.bz2
replace long with int
Diffstat (limited to 'Doc/library/weakref.rst')
-rw-r--r--Doc/library/weakref.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/weakref.rst b/Doc/library/weakref.rst
index 7c6f6db..c8eb899 100644
--- a/Doc/library/weakref.rst
+++ b/Doc/library/weakref.rst
@@ -72,9 +72,9 @@ support weak references but can add support through subclassing::
obj = Dict(red=1, green=2, blue=3) # this object is weak referenceable
-Other built-in types such as :class:`tuple` and :class:`long` do not support
-weak references even when subclassed (This is an implementation detail and may
-be different across various Python implementations.).
+Other built-in types such as :class:`tuple` and :class:`int` do not support weak
+references even when subclassed (This is an implementation detail and may be
+different across various Python implementations.).
Extension types can easily be made to support weak references; see
:ref:`weakref-support`.