You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This fixes these issues:
* Allow variable-length tuple (tuple[int, ...]) in type aliases
* Allow generic built-in types (e.g. list[int]) in stubs in all Python versions
Fixes#9980. Fixes#10303. Fixes#10731.
Bug Report
Please consider the following stub file:
When checking this with
mypy --python-version=3.8 foo.pyi
(mypy 0.910, Python 3.9.4), I get the following output:Please note that it complains about line 1, but not line 2. It will not complain when running in Python 3.9+ mode. See also #9980 and #10303.
The text was updated successfully, but these errors were encountered: