From fd380b07f95b90793f235111c18a9525060f5e6b Mon Sep 17 00:00:00 2001 From: Stephen Rosen Date: Sun, 2 Aug 2026 13:10:21 -0500 Subject: [PATCH] gh-155013: Fix a reference to "partial object" in the `functools.partial()` doc (GH-155036) (cherry picked from commit 204febac457c39c6622cd6c741d33afdbcca5d55) Co-authored-by: Stephen Rosen Co-authored-by: Stan Ulbrych --- Doc/library/functools.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/library/functools.rst b/Doc/library/functools.rst index 5ede9a540febab..417d8506c5bedd 100644 --- a/Doc/library/functools.rst +++ b/Doc/library/functools.rst @@ -389,9 +389,9 @@ The :mod:`!functools` module defines the following functions: only one positional argument is provided, but there are two placeholders that must be filled in. - If :func:`!partial` is applied to an existing :func:`!partial` object, - :data:`!Placeholder` sentinels of the input object are filled in with - new positional arguments. + If :func:`!partial` is applied to an existing + :ref:`partial object `, :data:`!Placeholder` sentinels of the + input object are filled in with new positional arguments. A placeholder can be retained by inserting a new :data:`!Placeholder` sentinel to the place held by a previous :data:`!Placeholder`: