Skip to content

gh-155013: Reword a reference to partial object in functools - #155036

Merged
StanFromIreland merged 2 commits into
python:mainfrom
sirosen:docs/minor/functools-partial
Aug 2, 2026
Merged

gh-155013: Reword a reference to partial object in functools#155036
StanFromIreland merged 2 commits into
python:mainfrom
sirosen:docs/minor/functools-partial

Conversation

@sirosen

@sirosen sirosen commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Rather than referring to a :func:`!partial` object, use a reference to the definition of a "partial object", provided as a part of the functools docs.

This results in two linked references from functools.partial docs to partial object, as there is another one at the top of the docstring.
However, the doc is sufficiently long that this second link is likely to be beneficial to a reader.

Rather than referring to a `` :func:`!partial` object``, use a reference
to the definition of a "partial object", provided as a part of the
functools docs.

This results in two linked references from `functools.partial` docs to
`partial object`, as there is another one at the top of the docstring.
However, the doc is sufficiently long that this second link is likely to
be beneficial to a reader.
@read-the-docs-community

read-the-docs-community Bot commented Aug 1, 2026

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #33869487 | 📁 Comparing 877fca8 against main (534b6b0)

  🔍 Preview build  

1 file changed
± library/functools.html

Comment thread Doc/library/functools.rst Outdated
Co-authored-by: Stan Ulbrych <stan@python.org>
@StanFromIreland StanFromIreland added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes labels Aug 1, 2026
@StanFromIreland
StanFromIreland merged commit 204feba into python:main Aug 2, 2026
39 checks passed
@miss-islington-app

Copy link
Copy Markdown

Thanks @sirosen for the PR, and @StanFromIreland for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14, 3.15.
🐍🍒⛏🤖

@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Aug 2, 2026
@bedevere-app

bedevere-app Bot commented Aug 2, 2026

Copy link
Copy Markdown

GH-155093 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Aug 2, 2026
@miss-islington-app

Copy link
Copy Markdown

Sorry, @sirosen and @StanFromIreland, I could not cleanly backport this to 3.13 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 204febac457c39c6622cd6c741d33afdbcca5d55 3.13

@bedevere-app

bedevere-app Bot commented Aug 2, 2026

Copy link
Copy Markdown

GH-155094 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Aug 2, 2026
@StanFromIreland StanFromIreland removed the needs backport to 3.13 bugs and security fixes label Aug 2, 2026
StanFromIreland added a commit that referenced this pull request Aug 2, 2026
…ls.partial()` doc (GH-155036) (#155094)

(cherry picked from commit 204feba)

Co-authored-by: Stephen Rosen <sirosen@globus.org>
Co-authored-by: Stan Ulbrych <stan@python.org>
StanFromIreland added a commit that referenced this pull request Aug 2, 2026
…ls.partial()` doc (GH-155036) (#155093)

(cherry picked from commit 204feba)

Co-authored-by: Stephen Rosen <sirosen@globus.org>
Co-authored-by: Stan Ulbrych <stan@python.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants