summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-05-08 15:29:41 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-05-08 15:29:41 (GMT)
commit3a3bba34e25275a48004636a6295c09e8ffefa90 (patch)
treec6bad53e08c732c54692009ef3b096f1358b8b89
parent858b8f775e7cd68ab4bdc2cd72dc5f134a0152fa (diff)
downloadcpython-3a3bba34e25275a48004636a6295c09e8ffefa90.zip
cpython-3a3bba34e25275a48004636a6295c09e8ffefa90.tar.gz
cpython-3a3bba34e25275a48004636a6295c09e8ffefa90.tar.bz2
Merged revisions 80983 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r80983 | benjamin.peterson | 2010-05-08 10:26:30 -0500 (Sat, 08 May 2010) | 1 line replace long with int ........
-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 ec88b1e..612e56f 100644
--- a/Doc/library/weakref.rst
+++ b/Doc/library/weakref.rst
@@ -69,9 +69,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`.