gh-155013: Fix a reference to "partial object" in the `functools.partial()` doc (#155036)

StanFromIreland <[email protected]> Sun, 02 Aug 2026 14:10:32 -0400 (EDT)
Newsgroups gmane.comp.python.cvs
Message-ID <[email protected]>
https://github.com/python/cpython/commit/204febac457c39c6622cd6c741d33afdbcca5d55
commit: 204febac457c39c6622cd6c741d33afdbcca5d55
branch: main
author: Stephen Rosen <[email protected]>
committer: StanFromIreland <[email protected]>
date: 2026-08-02T20:10:21+02:00
summary:

gh-155013: Fix a reference to "partial object" in the `functools.partial()` doc (#155036)

Co-authored-by: Stan Ulbrych <[email protected]>

files:
M Doc/library/functools.rst

diff --git a/Doc/library/functools.rst b/Doc/library/functools.rst
index 2b46978f058102..debb7a7c3c2cc0 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 <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`:
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]