예제 #1
0
 def subc(self, type_var: TypeVarType, bound: Type) -> Constraint:
     return Constraint(type_var.id, SUBTYPE_OF, bound)
예제 #2
0
파일: testsolve.py 프로젝트: vnitinv/mypy
 def subc(self, type_var, bound):
     return Constraint(type_var.name, SUBTYPE_OF, bound)