class documentation

class LastKnownValueEraser(TypeTranslator): (source)

View In Hierarchy

Removes the Literal[...] type that may be associated with any Instance types.

Method visit_instance Undocumented
Method visit_type_alias_type Undocumented
Method visit_union_type Undocumented
def visit_instance(self, t: Instance) -> Type: (source)

Undocumented

def visit_type_alias_type(self, t: TypeAliasType) -> Type: (source)

Undocumented

def visit_union_type(self, t: UnionType) -> Type: (source)

Undocumented