summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2015-05-13 21:39:35 (GMT)
committerRaymond Hettinger <python@rcn.com>2015-05-13 21:39:35 (GMT)
commitb01a1fdb943b216464a4cf64bcd1cb4a7ee19209 (patch)
tree5f8301806e9f7e2092c171a063251db24e636231 /Doc/library
parent6abe03288bb1c8bf36c10a2afd237b3c72cbcd68 (diff)
parent3afdb2870ff83ebb32a8c19260be7ced0567ac66 (diff)
downloadcpython-b01a1fdb943b216464a4cf64bcd1cb4a7ee19209.zip
cpython-b01a1fdb943b216464a4cf64bcd1cb4a7ee19209.tar.gz
cpython-b01a1fdb943b216464a4cf64bcd1cb4a7ee19209.tar.bz2
merge
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/collections.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst
index d875c49..5a52c7a 100644
--- a/Doc/library/collections.rst
+++ b/Doc/library/collections.rst
@@ -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)]