1

Resolved

Deleting imported class doesn't lose type information

description

file1.py:
from file2 import C

a = C()
file2.py:
class C:
    """info"""
    pass
Delete "from file2 import C" from file1, hover on C, you still see information about the class.

comments