mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
#13852: some small doc fixes.
This commit is contained in:
parent
af90a40445
commit
e9401a0476
1 changed files with 3 additions and 3 deletions
|
@ -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
|
.. 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:: Peter Harris <scav@blueyonder.co.uk>
|
||||||
.. moduleauthor:: Raymond Hettinger <python@rcn.com>
|
.. moduleauthor:: Raymond Hettinger <python@rcn.com>
|
||||||
.. moduleauthor:: Nick Coghlan <ncoghlan@gmail.com>
|
.. moduleauthor:: Nick Coghlan <ncoghlan@gmail.com>
|
||||||
|
@ -29,7 +29,7 @@ The :mod:`functools` module defines the following functions:
|
||||||
tool for programs being converted to Python 3 where comparison functions are
|
tool for programs being converted to Python 3 where comparison functions are
|
||||||
no longer supported.
|
no longer supported.
|
||||||
|
|
||||||
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
|
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
|
number for greater-than. A key function is a callable that accepts one
|
||||||
argument and returns another value that indicates the position in the desired
|
argument and returns another value that indicates the position in the desired
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue