import typing if typing.TYPE_CHECKING: from collections import defaultdict def f(x: "typing.DefaultDict[str, str]") -> None: ...