cpython (3.2): #13852: some small doc fixes.
http://hg.python.org/cpython/rev/5b8800012e88 changeset: 74623:5b8800012e88 branch: 3.2 parent: 74617:2790c3ff475b user: Georg Brandl <georg@python.org> date: Wed Jan 25 22:36:25 2012 +0100 summary: #13852: some small doc fixes. files: Doc/library/functools.rst | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/library/functools.rst b/Doc/library/functools.rst --- a/Doc/library/functools.rst +++ b/Doc/library/functools.rst @@ -1,8 +1,8 @@ -:mod:`functools` --- Higher order functions and operations on callable objects +:mod:`functools` --- Higher-order functions and operations on callable objects ============================================================================== .. module:: functools - :synopsis: Higher order functions and operations on callable objects. + :synopsis: Higher-order functions and operations on callable objects. .. moduleauthor:: Peter Harris <scav@blueyonder.co.uk> .. moduleauthor:: Raymond Hettinger <python@rcn.com> .. moduleauthor:: Nick Coghlan <ncoghlan@gmail.com> @@ -27,7 +27,7 @@ tool for programs being converted from Python 2 which supported the use of comparison functions. - A compare function is any callable that accept two arguments, compares them, + A comparison function is any callable that accept two arguments, compares them, and returns a negative number for less-than, zero for equality, or a positive number for greater-than. A key function is a callable that accepts one argument and returns another value indicating the position in the desired -- Repository URL: http://hg.python.org/cpython
participants (1)
-
georg.brandl