]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-142965: Fix Concatenate documentation to reflect valid use cases (GH-143316...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 23 Apr 2026 02:57:54 +0000 (04:57 +0200)
committerGitHub <noreply@github.com>
Thu, 23 Apr 2026 02:57:54 +0000 (19:57 -0700)
commit0a63bb89717e55bc39e7a574bf29d9cf767c3032
treed9764b56cdd69221002368d395fabb1d2fd6e738
parent27cd23470a3c69f3e1e9554721a0c3ff7c5b3449
[3.14] gh-142965: Fix Concatenate documentation to reflect valid use cases (GH-143316) (#148899)

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 75ff1afcb6a1bb2b3d54899e9b222a61798fa491)

Co-authored-by: John Seong <39040639+sandole@users.noreply.github.com>
Doc/library/typing.rst