]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
#19934: fix mangled wording
authorAndrew Kuchling <amk@amk.ca>
Wed, 13 May 2015 15:25:40 +0000 (11:25 -0400)
committerAndrew Kuchling <amk@amk.ca>
Wed, 13 May 2015 15:25:40 +0000 (11:25 -0400)
Doc/library/collections.rst

index 2dc60e8f68bf2aa81fbc4121576aabf99077ad33..e08eb515b71354984eab7a6eca8d75386960af28 100644 (file)
@@ -104,9 +104,9 @@ For example::
    .. method:: most_common([n])
 
       Return a list of the *n* most common elements and their counts from the
-      most common to the least.  If *n* is omitted or ``None`
-      :func:`most_common` returns *all* elements in the count
-      with equal counts are ordered arbitrarily:
+      most common to the least.  If *n* is omitted or ``None``,
+      :func:`most_common` returns *all* elements in the counter.
+      Elements with equal counts are ordered arbitrarily:
 
             >>> Counter('abracadabra').most_common(3)
             [('a', 5), ('r', 2), ('b', 2)]