class documentation

class Constraint: (source)

View In Hierarchy

A representation of a type constraint. It can be either T <: type or T :> type (T is a type variable).

Method __eq__ Undocumented
Method __hash__ Undocumented
Method __init__ Undocumented
Method __repr__ Undocumented
Instance Variable op Undocumented
Instance Variable origin_type_var Undocumented
Instance Variable target Undocumented
Instance Variable type_var Undocumented
def __eq__(self, other: object) -> bool: (source)

Undocumented

def __hash__(self) -> int: (source)

Undocumented

def __init__(self, type_var: TypeVarLikeType, op: int, target: Type): (source)

Undocumented

def __repr__(self) -> str: (source)

Undocumented

Undocumented

origin_type_var = (source)

Undocumented

Undocumented

type_var = (source)

Undocumented