(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.
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 @@
.. 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 @@
.. 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])