diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-01-08 17:56:16 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-01-08 17:56:16 (GMT) |
commit | 1a2d3563f960bc284daf146a1b6944cb16167666 (patch) | |
tree | 0bf4491bfca840c7b65ba6c096764cc1a611e4d0 /Doc | |
parent | 901d81e6724f7685199e669b808fce57a6123d87 (diff) | |
download | cpython-1a2d3563f960bc284daf146a1b6944cb16167666.zip cpython-1a2d3563f960bc284daf146a1b6944cb16167666.tar.gz cpython-1a2d3563f960bc284daf146a1b6944cb16167666.tar.bz2 |
(note: svnmerged from py3k, but the original message was wrong)
Issue #7105: Make WeakKeyDictionary and WeakValueDictionary robust against
the destruction of weakref'ed objects while iterating.
Diffstat (limited to 'Doc')
-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 639d8d0..ec88b1e 100644 --- a/Doc/library/weakref.rst +++ b/Doc/library/weakref.rst @@ -156,7 +156,7 @@ than needed. .. method:: WeakKeyDictionary.keyrefs() - Return an :term:`iterator` that yields the weak references to the keys. + Return an iterable of the weak references to the keys. .. class:: WeakValueDictionary([dict]) @@ -179,7 +179,7 @@ These method have the same issues as the and :meth:`keyrefs` method of .. method:: WeakValueDictionary.valuerefs() - Return an :term:`iterator` that yields the weak references to the values. + Return an iterable of the weak references to the values. .. class:: WeakSet([elements]) |