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

Class TreeFreer

mypy/freetree.py:9–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7
8
9class TreeFreer(TraverserVisitor):
10 def visit_block(self, block: Block) -> None:
11 super().visit_block(block)
12 block.body.clear()
13
14
15def free_tree(tree: MypyFile) -> None:

Callers 1

free_treeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…