]> granicus.if.org Git - python/commitdiff
bpo-29474: Improve documentation for weakref.WeakValueDictionary (#11)
authorMariatta <Mariatta@users.noreply.github.com>
Sat, 11 Feb 2017 01:44:57 +0000 (17:44 -0800)
committerZachary Ware <zachary.ware@gmail.com>
Sat, 11 Feb 2017 01:44:57 +0000 (19:44 -0600)
There were some grammatical errors in weakref.WeakValueDictionary
documentation.

Doc/library/weakref.rst

index afbd6113b8124b3311cdfb5736f09178e36855a4..0781e67e69b745abc53b70bbe8374402454f2af6 100644 (file)
@@ -189,8 +189,8 @@ than needed.
       magic" (as a side effect of garbage collection).
 
 :class:`WeakValueDictionary` objects have the following additional methods.
-These method have the same issues as the :meth:`iterkeyrefs` and :meth:`keyrefs`
-methods of :class:`WeakKeyDictionary` objects.
+These methods have the same issues as the :meth:`iterkeyrefs` and
+:meth:`keyrefs` methods of :class:`WeakKeyDictionary` objects.
 
 
 .. method:: WeakValueDictionary.itervaluerefs()