summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-01-08 17:54:23 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-01-08 17:54:23 (GMT)
commitc1baa601e2b558deb690edfdf334fceee3b03327 (patch)
tree1cf896c04e483406149bb8ad9c47ce89271a3795 /Doc
parentdc2a61347b569a42f99b7f64fd59bff0d2dcb4ba (diff)
downloadcpython-c1baa601e2b558deb690edfdf334fceee3b03327.zip
cpython-c1baa601e2b558deb690edfdf334fceee3b03327.tar.gz
cpython-c1baa601e2b558deb690edfdf334fceee3b03327.tar.bz2
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.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/weakref.rst b/Doc/library/weakref.rst
index 2aa49e3..53b13e5 100644
--- a/Doc/library/weakref.rst
+++ b/Doc/library/weakref.rst
@@ -159,7 +159,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])
@@ -182,7 +182,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])