class documentation

class Type(mypy.nodes.Context): (source)

Known subclasses: mypy.types.ProperType, mypy.types.RequiredType, mypy.types.TypeAliasType, mypy.types.TypeGuardedType

View In Hierarchy

Abstract base class for all types.
Class Method deserialize Undocumented
Method __init__ Undocumented
Method __repr__ Undocumented
Method accept Undocumented
Method can​_be​_false​_default Undocumented
Method can​_be​_true​_default Undocumented
Method serialize Undocumented
Class Variable __slots__ Undocumented
Instance Variable can​_be​_false Undocumented
Instance Variable can​_be​_true Undocumented

Inherited from Context:

Method get​_column Don't use. Use x.column.
Method get​_line Don't use. Use x.line.
Method set​_line If target is a node, pull line (and column) information into this node. If column is specified, this will override any column information coming from a node.
Instance Variable column Undocumented
Instance Variable end​_line Undocumented
Instance Variable line Undocumented
def __repr__(self): (source)

Undocumented

Returns
strUndocumented
def can_be_false_default(self): (source)

Undocumented

Returns
boolUndocumented
def can_be_true_default(self): (source)