-
-
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
Unexpected '...' in standard tuple #9459
Comments
Dupe of #7907 |
The linked issue #7907 reports that this issue was solved by PR #9564, but I find that this is still an issue in mypy version 0.910: from typing import Tuple
ex1: Tuple[int, ...] # ok
ex2 = Tuple[int, ...] # ok
ex3: tuple[int, ...] # ok
ex4 = tuple[int, ...] # error: Unexpected "..." Should we reopen this issue? Or should I file a new one? |
This has been fixed on master for a long time, try This issue tracks the 0.920 release: #11158 |
Same issue with
|
Bug Report
To Reproduce
Expected Behavior
I've expected that tuple and typing.Tuple works the same and errors will not occurs.
Actual Behavior
Standard tuple have got
error: Unexpected '...' [misc]
Your Environment
mypy.ini
(and other config files):The text was updated successfully, but these errors were encountered: