-
-
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
Multiply Tuple with IntExpr #863
Comments
Yeah, mypy should support this. It doesn't raise an exception fpr me, however, but gives an error ( And yes, the general case should probably wait for variable-length tuples (#184) and we should use them. However, using |
Okay, the |
Work towards python#863.
|
(1,)*3
should be of typeTuple[int,int,int]
, not raise an exception.I suppose
(1,)*n
may as well wait for proper tuple sequences, though.The text was updated successfully, but these errors were encountered: