]> granicus.if.org Git - python/commitdiff
rewrite to be nice to other implementations
authorBenjamin Peterson <benjamin@python.org>
Thu, 22 Oct 2009 02:36:47 +0000 (02:36 +0000)
committerBenjamin Peterson <benjamin@python.org>
Thu, 22 Oct 2009 02:36:47 +0000 (02:36 +0000)
Doc/library/weakref.rst

index c800ecd31e3d359953362c529eb1cea8f947951b..1c35493c2e6dac2bbdc9eca3132a8894bed10194 100644 (file)
@@ -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`.