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

Method visitModule

Parser/asdl_c.py:270–272  ·  view source on GitHub ↗
(self, mod)

Source from the content-addressed store, hash-verified

268 """Visitor to generate typedefs for AST."""
269
270 def visitModule(self, mod):
271 for dfn in mod.dfns:
272 self.visit(dfn)
273
274 def visitType(self, type, depth=0):
275 self.visit(type.value, type.name, depth)

Callers

nothing calls this directly

Calls 1

visitMethod · 0.45

Tested by

no test coverage detected