[Python-checkins] cpython (merge 3.5 -> default): Merge from 3.5

berker.peksag python-checkins at python.org
Wed Jun 1 16:46:03 EDT 2016


https://hg.python.org/cpython/rev/fe0c4f258458
changeset:   101589:fe0c4f258458
parent:      101587:87d76611470c
parent:      101588:dbe69f54b09c
user:        Berker Peksag <berker.peksag at gmail.com>
date:        Wed Jun 01 13:55:00 2016 -0700
summary:
  Merge from 3.5

files:
  Doc/faq/programming.rst |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Doc/faq/programming.rst b/Doc/faq/programming.rst
--- a/Doc/faq/programming.rst
+++ b/Doc/faq/programming.rst
@@ -1313,7 +1313,7 @@
 
 The technique, attributed to Randal Schwartz of the Perl community, sorts the
 elements of a list by a metric which maps each element to its "sort value". In
-Python, use the ``key`` argument for the :func:`sort()` function::
+Python, use the ``key`` argument for the :meth:`list.sort` method::
 
    Isorted = L[:]
    Isorted.sort(key=lambda s: int(s[10:15]))

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


More information about the Python-checkins mailing list