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

Method visit_ListComp

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

Source from the content-addressed store, hash-verified

719 self.interleave(lambda: self.write(", "), self.traverse, node.elts)
720
721 def visit_ListComp(self, node):
722 with self.delimit("[", "]"):
723 self.traverse(node.elt)
724 for gen in node.generators:
725 self.traverse(gen)
726
727 def visit_GeneratorExp(self, node):
728 with self.delimit("(", ")"):

Callers

nothing calls this directly

Calls 2

delimitMethod · 0.95
traverseMethod · 0.95

Tested by

no test coverage detected