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

Method unreachable

mypy/binder.py:266–268  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

264 self._put(key, typ, from_assignment)
265
266 def unreachable(self) -> None:
267 self.version += 1
268 self.frames[-1].unreachable = True
269
270 def suppress_unreachable_warnings(self) -> None:
271 self.frames[-1].suppress_unreachable_warnings = True

Callers 9

handle_breakMethod · 0.95
handle_continueMethod · 0.95
visit_blockMethod · 0.80
visit_return_stmtMethod · 0.80
visit_raise_stmtMethod · 0.80
push_type_mapMethod · 0.80
visit_call_expr_innerMethod · 0.80
check_awaitable_exprMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected