[Python-checkins] cpython (merge 3.4 -> default): merge

raymond.hettinger python-checkins at python.org
Wed May 13 11:48:27 CEST 2015


https://hg.python.org/cpython/rev/13c37b6f75f2
changeset:   96017:13c37b6f75f2
parent:      96015:f7d82e40e472
parent:      96016:8440dda28ffe
user:        Raymond Hettinger <python at rcn.com>
date:        Wed May 13 02:48:21 2015 -0700
summary:
  merge

files:
  Doc/library/collections.rst |  6 +++---
  1 files changed, 3 insertions(+), 3 deletions(-)


diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst
--- a/Doc/library/collections.rst
+++ b/Doc/library/collections.rst
@@ -268,9 +268,9 @@
     .. 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 not specified, :func:`most_common`
-        returns *all* elements in the counter.  Elements 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)]

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list