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

Method accept

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

Source from the content-addressed store, hash-verified

138 self.body.print(out)
139
140 def accept(self, visitor: Visitor) -> None:
141 visitor(self)
142 self.body.accept(visitor)
143
144 def tokens(self) -> Iterator[lx.Token]:
145 yield self.for_

Callers

nothing calls this directly

Calls 1

acceptMethod · 0.45

Tested by

no test coverage detected