MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / visit_DictComp

Method visit_DictComp

tools/python-3.11.9-amd64/Lib/ast.py:1298–1304  ·  view source on GitHub ↗
(self, node)

Source from the content-addressed store, hash-verified

1296 self.traverse(gen)
1297
1298 def visit_DictComp(self, node):
1299 with self.delimit("{", "}"):
1300 self.traverse(node.key)
1301 self.write(": ")
1302 self.traverse(node.value)
1303 for gen in node.generators:
1304 self.traverse(gen)
1305
1306 def visit_comprehension(self, node):
1307 if node.is_async:

Callers

nothing calls this directly

Calls 3

delimitMethod · 0.95
traverseMethod · 0.95
writeMethod · 0.95

Tested by

no test coverage detected