示例#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)