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

Function mark_block_unreachable

mypy/reachability.py:335–337  ·  view source on GitHub ↗
(block: Block)

Source from the content-addressed store, hash-verified

333
334
335def mark_block_unreachable(block: Block) -> None:
336 block.is_unreachable = True
337 block.accept(MarkImportsUnreachableVisitor())
338
339
340class MarkImportsUnreachableVisitor(TraverserVisitor):

Calls 2

acceptMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…