From: Andrew Kuchling Date: Wed, 13 May 2015 15:25:40 +0000 (-0400) Subject: #19934: fix mangled wording X-Git-Tag: v2.7.11rc1~302^2~28 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c711b61ad4ac3f125129dce2a4482f0649c07c84;p=thirdparty%2FPython%2Fcpython.git #19934: fix mangled wording --- diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index 2dc60e8f68bf..e08eb515b713 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -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)]