]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-155013: Fix a reference to "partial object" in the `functools.partial()` doc ... main
authorStephen Rosen <sirosen@globus.org>
Sun, 2 Aug 2026 18:10:21 +0000 (13:10 -0500)
committerGitHub <noreply@github.com>
Sun, 2 Aug 2026 18:10:21 +0000 (20:10 +0200)
Co-authored-by: Stan Ulbrych <stan@python.org>
Doc/library/functools.rst

index 2b46978f058102bbe23b6906bd2c2670dd9ebd4e..debb7a7c3c2cc0e7db0d033951d6783d503f950e 100644 (file)
@@ -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.
 
    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 <partial-objects>`, :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`:
 
    A placeholder can be retained by inserting a new
    :data:`!Placeholder` sentinel to the place held by a previous :data:`!Placeholder`: