@@ -166,8 +166,8 @@ Extension types can easily be made to support weak references; see
166
166
performed by the program during iteration may cause items in the
167
167
dictionary to vanish "by magic" (as a side effect of garbage collection).
168
168
169
- :class: `WeakKeyDictionary ` objects havethe following additionalmethods. These
170
- expose the internal references directly. The references are not guaranteed to
169
+ :class: `WeakKeyDictionary ` objects havean additionalmethod that
170
+ exposes the internal references directly. The references are not guaranteed to
171
171
be "live" at the time they are used, so the result of calling the references
172
172
needs to be checked before being used. This can be used to avoid creating
173
173
references that will cause the garbage collector to keep the keys around longer
@@ -192,9 +192,9 @@ than needed.
192
192
by the program during iteration may cause items in the dictionary to vanish "by
193
193
magic" (as a side effect of garbage collection).
194
194
195
- :class: `WeakValueDictionary ` objects havethe following additionalmethods.
196
- These method have the same issues as theand :meth: `keyrefs ` method of
197
- :class: ` WeakKeyDictionary ` objects.
195
+ :class: `WeakValueDictionary ` objects havean additionalmethod that has the
196
+ same issues as the:meth: `keyrefs ` method of:class: ` WeakKeyDictionary `
197
+ objects.
198
198
199
199
200
200
..method ::WeakValueDictionary.valuerefs()