module documentation
Undocumented
Class |
|
Undocumented |
Class |
|
Removes the Literal[...] type that may be associated with any Instance types. |
Class |
|
Implementation of type erasure |
Function | erase |
Erase any type variables from a type. |
Function | erase |
Replace all type variables in a type with any, or just the ones in the provided collection. |
Function | remove |
Undocumented |
Function | replace |
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. Examples: A -> A B[X] -> B[Any] Tuple[A, B] -> tuple Callable[[A1, A2, ...], R] -> Callable[..., Any] Type[X] -> Type[Any]