[3.15] gh-155013: Fix a reference to "partial object" in the `functools.partial()` doc (GH-155036) (#155093)
StanFromIreland <[email protected]> Sun, 02 Aug 2026 14:19:29 -0400 (EDT)
| Newsgroups | gmane.comp.python.cvs |
|---|---|
| Message-ID | <[email protected]> |
https://github.com/python/cpython/commit/a09a635d0903a03cf6a627d81608d5ac7f335400 commit: a09a635d0903a03cf6a627d81608d5ac7f335400 branch: 3.15 author: Miss Islington (bot) <[email protected]> committer: StanFromIreland <[email protected]> date: 2026-08-02T18:19:00Z summary: [3.15] gh-155013: Fix a reference to "partial object" in the `functools.partial()` doc (GH-155036) (#155093) (cherry picked from commit 204febac457c39c6622cd6c741d33afdbcca5d55) Co-authored-by: Stephen Rosen <[email protected]> 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]