Difference with mypy when using manual overloads for TypeVarTuple *args #10602
Unanswered
Jonas Lundholm Bertelsen (jonaslb)
asked this question in
Q&A
Replies: 1 comment 1 reply
|
Yeah, this looks like a bug. I'll create an issue from this discussion. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I have the following example:
Mypy has no issue with it.
Pylance says, on the method implementation, the following:
It seems to me that
(CT@X, T1@method, T2@method)should be assignable to(CT@X, *P@method), but I'm not sure if I'm missing something?All reactions