]> granicus.if.org Git - python/commitdiff
replace long with int
authorBenjamin Peterson <benjamin@python.org>
Sat, 8 May 2010 15:26:30 +0000 (15:26 +0000)
committerBenjamin Peterson <benjamin@python.org>
Sat, 8 May 2010 15:26:30 +0000 (15:26 +0000)
Doc/library/weakref.rst

index 7c6f6db56f96eabd11a1a87161bcbbfefd5cf7b5..c8eb8998b82d6370bb61de938ff1df98a17ceda0 100644 (file)
@@ -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`.