MCPcopy
hub / github.com/python/mypy / visit_with_stmt

Method visit_with_stmt

mypy/partially_defined.py:668–672  ·  view source on GitHub ↗
(self, o: WithStmt)

Source from the content-addressed store, hash-verified

666 super().visit_name_expr(o)
667
668 def visit_with_stmt(self, o: WithStmt) -> None:
669 for expr, idx in zip(o.expr, o.target):
670 expr.accept(self)
671 self.process_lvalue(idx)
672 o.body.accept(self)
673
674 def visit_class_def(self, o: ClassDef) -> None:
675 self.process_definition(o.name)

Callers

nothing calls this directly

Calls 3

process_lvalueMethod · 0.95
zipFunction · 0.85
acceptMethod · 0.45

Tested by

no test coverage detected