summaryrefslogtreecommitdiffstats
path: root/Doc/howto
diff options
context:
space:
mode:
authorpartev <petrosyan@gmail.com>2022-11-01 02:49:27 (GMT)
committerGitHub <noreply@github.com>2022-11-01 02:49:27 (GMT)
commitf4d56292e943e822abf68f3c210ccf6b88c587ac (patch)
tree7783d8528302f83bf2030e9038930e9ac7cf700d /Doc/howto
parentd22bde983e58eaff9773f32a8324ddf9074e95e1 (diff)
downloadcpython-f4d56292e943e822abf68f3c210ccf6b88c587ac.zip
cpython-f4d56292e943e822abf68f3c210ccf6b88c587ac.tar.gz
cpython-f4d56292e943e822abf68f3c210ccf6b88c587ac.tar.bz2
Fix wording in Functional Programming HOWTO (GH-98939)
Diffstat (limited to 'Doc/howto')
-rw-r--r--Doc/howto/functional.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/howto/functional.rst b/Doc/howto/functional.rst
index 7d30c34..38a651b 100644
--- a/Doc/howto/functional.rst
+++ b/Doc/howto/functional.rst
@@ -994,7 +994,7 @@ requesting iterator-2 and its corresponding key.
The functools module
====================
-The :mod:`functools` module in Python 2.5 contains some higher-order functions.
+The :mod:`functools` module contains some higher-order functions.
A **higher-order function** takes one or more functions as input and returns a
new function. The most useful tool in this module is the
:func:`functools.partial` function.