From 204febac457c39c6622cd6c741d33afdbcca5d55 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 (#155036) 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 2b46978f0581..debb7a7c3c2c 100644 --- a/Doc/library/functools.rst +++ b/Doc/library/functools.rst @@ -386,9 +386,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`: -- 2.47.3