From 905982b6f9d1538b2e15f834b737a2d86f672dfd Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sat, 8 May 2010 15:26:30 +0000 Subject: [PATCH] replace long with int --- Doc/library/weakref.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/library/weakref.rst b/Doc/library/weakref.rst index 7c6f6db56f9..c8eb8998b82 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`.