From 217a31742544729a001dea9139cc272e64e33064 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Mon, 31 Oct 2022 19:57:42 -0700 Subject: [PATCH] Fix wording in Functional Programming HOWTO (GH-98939) (cherry picked from commit f4d56292e943e822abf68f3c210ccf6b88c587ac) Co-authored-by: partev --- Doc/howto/functional.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/howto/functional.rst b/Doc/howto/functional.rst index 1c3bd23f9fe..e68bc2ebb1c 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.