MCPcopy
hub / github.com/pallets/click / write_heading

Method write_heading

src/click/formatting.py:204–206  ·  view source on GitHub ↗

Writes a heading into the buffer.

(self, heading: str)

Source from the content-addressed store, hash-verified

202 self.write("\n")
203
204 def write_heading(self, heading: str) -> None:
205 """Writes a heading into the buffer."""
206 self.write(f"{'':>{self.current_indent}}{heading}:\n")
207
208 def write_paragraph(self) -> None:
209 """Writes a paragraph into the buffer."""

Callers 1

sectionMethod · 0.95

Calls 1

writeMethod · 0.95

Tested by

no test coverage detected