module documentation
(source)

Generic node traverser visitor
Class ​Tree​Freer Undocumented
Function free​_tree Free all the ASTs associated with a module.
def free_tree(tree): (source)

Free all the ASTs associated with a module.

This needs to be done recursively, since symbol tables contain references to definitions, so those won't be freed but we want their contents to be.

Parameters
tree:MypyFileUndocumented