Skip to content

Unify a codepath in typevarlike semanal #12480

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

Merged
merged 1 commit into from
Mar 28, 2022
Merged

Conversation

jhance
Copy link
Collaborator

@jhance jhance commented Mar 28, 2022

I don't want to have to copy paste this again for TypeVarTuple. The downside is the error is less specific. We could fix that by passing in a string or checking call.callee.name, but I think it isn't worth it. This error should still be clear enough.

@github-actions
Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@jhance jhance merged commit 7ac5a19 into python:master Mar 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants