From f4d56292e943e822abf68f3c210ccf6b88c587ac Mon Sep 17 00:00:00 2001 From: partev Date: Mon, 31 Oct 2022 22:49:27 -0400 Subject: [PATCH] Fix wording in Functional Programming HOWTO (GH-98939) --- 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 7d30c343e37..38a651b0f96 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.