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.
This commit is contained in:
Éric Araujo 2010-11-16 19:13:50 +00:00
parent dbe7519da9
commit 6e6cb8e0e4
29 changed files with 134 additions and 0 deletions

View file

@ -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)