From: Stephen Rosen Date: Sun, 2 Aug 2026 18:10:21 +0000 (-0500) Subject: gh-155013: Fix a reference to "partial object" in the `functools.partial()` doc ... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2Fmain;p=thirdparty%2FPython%2Fcpython.git gh-155013: Fix a reference to "partial object" in the `functools.partial()` doc (#155036) Co-authored-by: Stan Ulbrych --- 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`: