summaryrefslogtreecommitdiffstats
path: root/Doc/library/functions.rst
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2009-02-19 06:44:30 (GMT)
committerRaymond Hettinger <python@rcn.com>2009-02-19 06:44:30 (GMT)
commit477be8224a6347c199b93033b030b2f0435999de (patch)
tree0ae319aa8de7616c20458fe56d2eff61ea3a0724 /Doc/library/functions.rst
parentf3936f875a94596d2e105838897c933fe9daeb8e (diff)
downloadcpython-477be8224a6347c199b93033b030b2f0435999de.zip
cpython-477be8224a6347c199b93033b030b2f0435999de.tar.gz
cpython-477be8224a6347c199b93033b030b2f0435999de.tar.bz2
Add links to helpful external resources.
Diffstat (limited to 'Doc/library/functions.rst')
-rw-r--r--Doc/library/functions.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 39aab16..b735c8f 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -973,6 +973,9 @@ are always available. They are listed here in alphabetical order.
*reverse* is a boolean value. If set to ``True``, then the list elements are
sorted as if each comparison were reversed.
+ To convert an old-style *cmp* function to a *key* function, see the
+ `CmpToKey recipe in the ASPN cookbook
+ <http://code.activestate.com/recipes/576653/>`_\.
.. function:: staticmethod(function)