MCPcopy Index your code
hub / github.com/python/mypy / subc

Method subc

mypy/test/testsolve.py:286–287  ·  view source on GitHub ↗
(self, type_var: TypeVarType, bound: Type)

Source from the content-addressed store, hash-verified

284 return Constraint(type_var, SUPERTYPE_OF, bound)
285
286 def subc(self, type_var: TypeVarType, bound: Type) -> Constraint:
287 return Constraint(type_var, SUBTYPE_OF, bound)

Calls 1

ConstraintClass · 0.90

Tested by

no test coverage detected