MCPcopy Create free account
hub / github.com/SalesforceAIResearch/perfcodegen / visit_AsyncWith

Method visit_AsyncWith

src/sanitize.py:128–134  ·  view source on GitHub ↗
(self, node)

Source from the content-addressed store, hash-verified

126 return node
127
128 def visit_AsyncWith(self, node):
129 if len(node.body) == 0:
130 node.body.append(ast.Pass())
131 return node
132 else:
133 self.generic_visit(node)
134 return node
135
136 def visit_Try(self, node):
137 if len(node.body) == 0:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected