[Python-checkins] Fix wording in Functional Programming HOWTO (GH-98939)
miss-islington
webhook-mailer at python.org
Mon Oct 31 22:57:49 EDT 2022
https://github.com/python/cpython/commit/217a31742544729a001dea9139cc272e64e33064
commit: 217a31742544729a001dea9139cc272e64e33064
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-10-31T19:57:42-07:00
summary:
Fix wording in Functional Programming HOWTO (GH-98939)
(cherry picked from commit f4d56292e943e822abf68f3c210ccf6b88c587ac)
Co-authored-by: partev <petrosyan at gmail.com>
files:
M Doc/howto/functional.rst
diff --git a/Doc/howto/functional.rst b/Doc/howto/functional.rst
index 1c3bd23f9fee..e68bc2ebb1cc 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.
More information about the Python-checkins
mailing list