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

Method print

Tools/cases_generator/parsing.py:212–217  ·  view source on GitHub ↗
(self, out:CWriter)

Source from the content-addressed store, hash-verified

210 close: lx.Token
211
212 def print(self, out:CWriter) -> None:
213 out.emit(self.open)
214 for stmt in self.body:
215 stmt.print(out)
216 out.start_line()
217 out.emit(self.close)
218
219 def accept(self, visitor: Visitor) -> None:
220 visitor(self)

Callers

nothing calls this directly

Calls 3

start_lineMethod · 0.80
emitMethod · 0.45
printMethod · 0.45

Tested by

no test coverage detected