Skip to content

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

Open
sirosen wants to merge 2 commits into
python:mainfrom
sirosen:docs/minor/functools-partial
Open

gh-155013: Reword a reference to partial object in functools#155036
sirosen wants to merge 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting merge docs Documentation in the Doc dir 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 skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants