MCPcopy Index your code
hub / github.com/python/cpython / visit_Module

Method visit_Module

Lib/_ast_unparse.py:203–211  ·  view source on GitHub ↗
(self, node)

Source from the content-addressed store, hash-verified

201 self.traverse(node.body)
202
203 def visit_Module(self, node):
204 self._type_ignores = {
205 ignore.lineno: f"ignore{ignore.tag}"
206 for ignore in node.type_ignores
207 }
208 try:
209 self._write_docstring_and_traverse_body(node)
210 finally:
211 self._type_ignores.clear()
212
213 def visit_Interactive(self, node):
214 self._in_interactive = True

Callers

nothing calls this directly

Calls 2

clearMethod · 0.45

Tested by

no test coverage detected