Commit 3afdb287 authored by Raymond Hettinger's avatar Raymond Hettinger

Fix mangled wording

parent c58cca59
...@@ -269,8 +269,8 @@ For example:: ...@@ -269,8 +269,8 @@ For example::
Return a list of the *n* most common elements and their counts from the 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``, most common to the least. If *n* is omitted or ``None``,
:func:`most_common` returns *all* elements in the counter. Elements :func:`most_common` returns *all* elements in the counter.
with equal counts are ordered arbitrarily: Elements with equal counts are ordered arbitrarily:
>>> Counter('abracadabra').most_common(3) >>> Counter('abracadabra').most_common(3)
[('a', 5), ('r', 2), ('b', 2)] [('a', 5), ('r', 2), ('b', 2)]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment