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

Method printblock

Tools/peg_generator/pegen/parser_generator.py:144–146  ·  view source on GitHub ↗
(self, lines: str)

Source from the content-addressed store, hash-verified

142 print(*args, file=self.file)
143
144 def printblock(self, lines: str) -> None:
145 for line in lines.splitlines():
146 self.print(line)
147
148 def collect_rules(self) -> None:
149 keyword_collector = KeywordCollectorVisitor(self, self.keywords, self.soft_keywords)

Callers

nothing calls this directly

Calls 2

printMethod · 0.95
splitlinesMethod · 0.45

Tested by

no test coverage detected