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

Method check_expr

mypy/checkstrformat.py:912–914  ·  view source on GitHub ↗
(expr: Expression)

Source from the content-addressed store, hash-verified

910 )
911
912 def check_expr(expr: Expression) -> None:
913 type = self.accept(expr, expected)
914 check_type(type)
915
916 return check_expr, check_type
917

Callers

nothing calls this directly

Calls 5

acceptMethod · 0.95
isinstanceFunction · 0.85
lenFunction · 0.85
requires_int_or_charMethod · 0.80

Tested by

no test coverage detected