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

Method unreachable_statement

mypy/messages.py:2141–2142  ·  view source on GitHub ↗
(self, context: Context)

Source from the content-addressed store, hash-verified

2139 )
2140
2141 def unreachable_statement(self, context: Context) -> None:
2142 self.fail("Statement is unreachable", context, code=codes.UNREACHABLE)
2143
2144 def redundant_left_operand(self, op_name: str, context: Context) -> None:
2145 """Indicates that the left operand of a boolean expression is redundant:

Callers 2

check_first_passMethod · 0.80
visit_blockMethod · 0.80

Calls 1

failMethod · 0.95

Tested by

no test coverage detected