Undocumented
Class | EraseTypeVisitor |
Undocumented |
Class | LastKnownValueEraser |
Removes the Literal[...] type that may be associated with any Instance types. |
Class | TypeVarEraser |
Implementation of type erasure |
Function | erase_type |
Erase any type variables from a type. |
Function | erase_typevars |
Replace all type variables in a type with any, or just the ones in the provided collection. |
Function | remove_instance_last_known_values |
Undocumented |
Function | replace_meta_vars |
Replace unification variables in a type with the target type. |
Erase any type variables from a type.
Also replace tuple types with the corresponding concrete types.
Parameters | |
typ:Type | Undocumented |
Returns | |
ProperType | Undocumented |