MCPcopy Create free account
hub / github.com/ipython/traitlets / emit_description

Method emit_description

traitlets/config/application.py:672–676  ·  view source on GitHub ↗

Yield lines with the application description.

(self)

Source from the content-addressed store, hash-verified

670 print("\n".join(self.emit_description()))
671
672 def emit_description(self) -> t.Generator[str, None, None]:
673 """Yield lines with the application description."""
674 for p in wrap_paragraphs(self.description or self.__doc__ or ""):
675 yield p
676 yield ""
677
678 def print_examples(self) -> None:
679 """Print usage and examples (see `emit_examples()`)."""

Callers 2

emit_helpMethod · 0.95
print_descriptionMethod · 0.95

Calls 1

wrap_paragraphsFunction · 0.90

Tested by

no test coverage detected