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

Function mark_block_mypy_only

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

Source from the content-addressed store, hash-verified

351
352
353def mark_block_mypy_only(block: Block) -> None:
354 block.accept(MarkImportsMypyOnlyVisitor())
355
356
357class MarkImportsMypyOnlyVisitor(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…