mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
Document rev. 57574.
This commit is contained in:
parent
95f1a1be3d
commit
ae0ee8a473
1 changed files with 9 additions and 1 deletions
|
@ -15,7 +15,15 @@ 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.
|
||||
|
||||
The :mod:`functools` module defines the following function:
|
||||
The :mod:`functools` module defines the following functions:
|
||||
|
||||
|
||||
.. function:: reduce(function, iterable[, initializer])
|
||||
|
||||
This is the same function as :func:`reduce`. It is made available in this module
|
||||
to allow writing code more forward-compatible with Python 3.
|
||||
|
||||
.. versionadded:: 2.6
|
||||
|
||||
|
||||
.. function:: partial(func[,*args][, **keywords])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue