-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PEP-612 Concatenate not recognized properly #11833
Labels
Comments
Without recognizing Concatenate, one has to use args as a tuple (i.e. access first argument with |
Part of #8645 |
8 tasks
JukkaL
pushed a commit
that referenced
this issue
Apr 7, 2022
This PR adds a new Parameters proper type to represent ParamSpec parameters (more about this in the PR), along with supporting the Concatenate operator. Closes #11833 Closes #12276 Closes #12257 Refs #8645 External ref python/typeshed#4827 Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please consider example from PEP-612
then
I would expect
Concatenate
to be accepted as the first argument of Callable.Mypy 0.930, Python 3.10.1
The text was updated successfully, but these errors were encountered: