Skip to content

[3.13] gh-142965: Fix Concatenate documentation to reflect valid use cases (GH-143316)#148900

Merged
JelleZijlstra merged 1 commit intopython:3.13from
miss-islington:backport-75ff1af-3.13
Apr 23, 2026
Merged

[3.13] gh-142965: Fix Concatenate documentation to reflect valid use cases (GH-143316)#148900
JelleZijlstra merged 1 commit intopython:3.13from
miss-islington:backport-75ff1af-3.13

Conversation

@miss-islington
Copy link
Copy Markdown
Contributor

@miss-islington miss-islington commented Apr 23, 2026

The documentation previously stated that Concatenate is only valid
when used as the first argument to Callable, but according to PEP 612,
it can also be used when instantiating user-defined generic classes
with ParamSpec parameters.
(cherry picked from commit 75ff1af)

Co-authored-by: John Seong 39040639+sandole@users.noreply.github.com


📚 Documentation preview 📚: https://cpython-previews--148900.org.readthedocs.build/

…ases (pythonGH-143316)

The documentation previously stated that Concatenate is only valid
when used as the first argument to Callable, but according to PEP 612,
it can also be used when instantiating user-defined generic classes
with ParamSpec parameters.
(cherry picked from commit 75ff1af)

Co-authored-by: John Seong <39040639+sandole@users.noreply.github.com>
@bedevere-app bedevere-app Bot added skip news awaiting review docs Documentation in the Doc dir labels Apr 23, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Docs PRs Apr 23, 2026
@JelleZijlstra JelleZijlstra merged commit 7dd784e into python:3.13 Apr 23, 2026
29 of 30 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Apr 23, 2026
@miss-islington miss-islington deleted the backport-75ff1af-3.13 branch April 23, 2026 02:57
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.

3 participants