summaryrefslogtreecommitdiff
path: root/Doc/library/functools.rst
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2010-11-16 19:13:50 +0000
committerÉric Araujo <merwok@netwok.org>2010-11-16 19:13:50 +0000
commit208ebee75e9387807d33e91373dbb4ad767f513e (patch)
tree780b22149cf9a455614b6c1707e3ba7702b12ef8 /Doc/library/functools.rst
parenteee86809bc4be2fcc73ea62a09cbd4ac8d011f6b (diff)
downloadcpython-208ebee75e9387807d33e91373dbb4ad767f513e.tar.gz
Provide links to Python source where the code is short, readable and
informative adjunct to the docs. Forward-port of Raymond's r86225 and r86245 using the new source reST role added in #10334.
Diffstat (limited to 'Doc/library/functools.rst')
-rw-r--r--Doc/library/functools.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/library/functools.rst b/Doc/library/functools.rst
index 8e97c5409d..58c2429fd1 100644
--- a/Doc/library/functools.rst
+++ b/Doc/library/functools.rst
@@ -13,6 +13,11 @@ The :mod:`functools` module is for higher-order functions: functions that act on
or return other functions. In general, any callable object can be treated as a
function for the purposes of this module.
+.. seealso::
+
+ Latest version of the :source:`functools Python source code
+ <Lib/functools.py>`
+
The :mod:`functools` module defines the following functions:
.. function:: cmp_to_key(func)