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

Method print

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

Source from the content-addressed store, hash-verified

99 else_body: Stmt | None
100
101 def print(self, out:CWriter) -> None:
102 out.emit(self.if_)
103 for tkn in self.condition:
104 out.emit(tkn)
105 self.body.print(out)
106 if self.else_ is not None:
107 out.emit(self.else_)
108 self.body.print(out)
109 if self.else_body is not None:
110 self.else_body.print(out)
111
112 def accept(self, visitor: Visitor) -> None:
113 visitor(self)

Callers

nothing calls this directly

Calls 2

emitMethod · 0.45
printMethod · 0.45

Tested by

no test coverage detected