MCPcopy
hub / github.com/pyodide/pyodide / get_text

Method get_text

tools/backport.py:303–308  ·  view source on GitHub ↗

Unparse the section

(self)

Source from the content-addressed store, hash-verified

301 pr_index: dict[int, PrChangelogIndex] = field(default_factory=dict)
302
303 def get_text(self) -> str:
304 """Unparse the section"""
305 header = ""
306 if self.header:
307 header = "\n".join(self.header) + "\n"
308 return header + "".join(x.get_text() for x in self.sections)
309
310 def append(self, line: str) -> None:
311 """Main parsing logic."""

Callers

nothing calls this directly

Calls 2

joinMethod · 0.80
get_textMethod · 0.45

Tested by

no test coverage detected