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

Method visit_List

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

Source from the content-addressed store, hash-verified

715 self._write_constant(node.value)
716
717 def visit_List(self, node):
718 with self.delimit("[", "]"):
719 self.interleave(lambda: self.write(", "), self.traverse, node.elts)
720
721 def visit_ListComp(self, node):
722 with self.delimit("[", "]"):

Callers

nothing calls this directly

Calls 3

delimitMethod · 0.95
interleaveMethod · 0.95
writeMethod · 0.95

Tested by

no test coverage detected