[3.14] gh-155013: Fix a reference to "partial object" in the `functools.partial()` doc (GH-155036) (#155094)
StanFromIreland <[email protected]> Sun, 02 Aug 2026 14:18:26 -0400 (EDT)
| Newsgroups | gmane.comp.python.cvs |
|---|---|
| Message-ID | <[email protected]> |
https://github.com/python/cpython/commit/b0ef8b4f3ee5dd52748bfa991cfc765edd26e8f9 commit: b0ef8b4f3ee5dd52748bfa991cfc765edd26e8f9 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: StanFromIreland <[email protected]> date: 2026-08-02T18:18:09Z summary: [3.14] gh-155013: Fix a reference to "partial object" in the `functools.partial()` doc (GH-155036) (#155094) (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 5ede9a540febab..417d8506c5bedd 100644 --- a/Doc/library/functools.rst +++ b/Doc/library/functools.rst @@ -389,9 +389,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]