]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-142965: Fix Concatenate documentation to reflect valid use cases (#143316)
authorJohn Seong <39040639+sandole@users.noreply.github.com>
Thu, 23 Apr 2026 02:46:04 +0000 (10:46 +0800)
committerGitHub <noreply@github.com>
Thu, 23 Apr 2026 02:46:04 +0000 (19:46 -0700)
commit75ff1afcb6a1bb2b3d54899e9b222a61798fa491
tree90e576e0a1fb3393da6963afdfef3ada64c83687
parentbd7352d8071dc00531f2c527977602729f2d3ec6
gh-142965: Fix Concatenate documentation to reflect valid use cases (#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.
Doc/library/typing.rst