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
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name 'TypeVarDef' from 'mypy.types' (/Users/username/Library/Python/3.8/lib/python/site-packages/mypy/types.py)
Expected Behavior
No errors.
Actual Behavior
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name 'TypeVarDef' from 'mypy.types' (/Users/username/Library/Python/3.8/lib/python/site-packages/mypy/types.py)
Your Environment
Mypy version used: 0.920
Mypy command-line flags:
Mypy configuration options from mypy.ini (and other config files):
Python version used: 3.8.9
Operating system and version: MacOS 12.1
The text was updated successfully, but these errors were encountered:
Bug Report
TypeVarDef
raises anImportError
.To Reproduce
from mypy.types import TypeVarDef
I get this:
Expected Behavior
No errors.
Actual Behavior
Your Environment
mypy.ini
(and other config files):The text was updated successfully, but these errors were encountered: