From: partev Date: Tue, 1 Nov 2022 02:49:27 +0000 (-0400) Subject: Fix wording in Functional Programming HOWTO (GH-98939) X-Git-Tag: v3.12.0a2~182 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f4d56292e943e822abf68f3c210ccf6b88c587ac;p=thirdparty%2FPython%2Fcpython.git Fix wording in Functional Programming HOWTO (GH-98939) --- diff --git a/Doc/howto/functional.rst b/Doc/howto/functional.rst index 7d30c343e372..38a651b0f964 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.