From: Benjamin Peterson Date: Thu, 22 Oct 2009 02:36:47 +0000 (+0000) Subject: rewrite to be nice to other implementations X-Git-Tag: v2.7a1~291 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff81cb812dac5c6f01006fd3d39b99bba6ffc263;p=thirdparty%2FPython%2Fcpython.git rewrite to be nice to other implementations --- diff --git a/Doc/library/weakref.rst b/Doc/library/weakref.rst index c800ecd31e3d..1c35493c2e6d 100644 --- a/Doc/library/weakref.rst +++ b/Doc/library/weakref.rst @@ -77,8 +77,8 @@ 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 (those types implemented as a -:ctype:`PyVarObject`). +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`.