This commit is contained in:
Raymond Hettinger 2015-05-13 14:39:35 -07:00
commit b01a1fdb94
1 changed files with 2 additions and 2 deletions

View File

@ -269,8 +269,8 @@ For example::
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 counter. Elements
with equal counts are ordered arbitrarily:
: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)]