[Python-checkins] cpython (merge 3.4 -> default): merge
raymond.hettinger
python-checkins at python.org
Wed May 13 23:39:44 CEST 2015
https://hg.python.org/cpython/rev/1e1bb3eb6f93
changeset: 96040:1e1bb3eb6f93
parent: 96038:ee31277386cb
parent: 96039:679253430ce5
user: Raymond Hettinger <python at rcn.com>
date: Wed May 13 14:39:35 2015 -0700
summary:
merge
files:
Doc/library/collections.rst | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst
--- a/Doc/library/collections.rst
+++ b/Doc/library/collections.rst
@@ -269,8 +269,8 @@
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)]
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list