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

Method accept

Tools/cases_generator/parsing.py:219–222  ·  view source on GitHub ↗
(self, visitor: Visitor)

Source from the content-addressed store, hash-verified

217 out.emit(self.close)
218
219 def accept(self, visitor: Visitor) -> None:
220 visitor(self)
221 for stmt in self.body:
222 stmt.accept(visitor)
223
224 def tokens(self) -> Iterator[lx.Token]:
225 yield self.open

Callers

nothing calls this directly

Calls 1

acceptMethod · 0.45

Tested by

no test coverage detected