diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-10-22 02:36:47 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-10-22 02:36:47 (GMT) |
commit | ff81cb812dac5c6f01006fd3d39b99bba6ffc263 (patch) | |
tree | 4a712c48bdae4212568c29181c75ffbc88295a42 | |
parent | 3c67afa714d4edfbd572caf4c7c17c8890589ac6 (diff) | |
download | cpython-ff81cb812dac5c6f01006fd3d39b99bba6ffc263.zip cpython-ff81cb812dac5c6f01006fd3d39b99bba6ffc263.tar.gz cpython-ff81cb812dac5c6f01006fd3d39b99bba6ffc263.tar.bz2 |
rewrite to be nice to other implementations
-rw-r--r-- | Doc/library/weakref.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/weakref.rst b/Doc/library/weakref.rst index c800ecd..1c35493 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`. |