We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b1bb6e commit 164cf7cCopy full SHA for 164cf7c
mypy/types.py
@@ -551,7 +551,6 @@ class Instance(Type):
551
def __init__(self, typ: mypy.nodes.TypeInfo, args: List[Type],
552
line: int = -1, column: int = -1, erased: bool = False) -> None:
553
super().__init__(line, column)
554
- assert not typ or typ.fullname() not in ["builtins.Any", "typing.Any"]
555
self.type = typ
556
self.args = args
557
self.erased = erased # True if result of type variable substitution
0 commit comments