Get a fresh copy of self, named after
name. Can only be called on non-derived typevars.
Returns the typeset for this TV. If the TV is derived, computes it recursively from the derived function and the base’s typeset. Note this can’t be done non-lazily in the constructor, because the TypeSet of the base may change over time.
Returns this typevar’s type set, assuming this type var has no parent.
If the associated typeset has a single type return it. Otherwise return None.
Get the free type variable controlling this one.
Create a type variable that is a function of another.
Auto Trait Implementations§
Returns the argument unchanged.