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

Method print_examples

traitlets/config/application.py:678–680  ·  view source on GitHub ↗

Print usage and examples (see `emit_examples()`).

(self)

Source from the content-addressed store, hash-verified

676 yield ""
677
678 def print_examples(self) -> None:
679 """Print usage and examples (see `emit_examples()`)."""
680 print("\n".join(self.emit_examples()))
681
682 def emit_examples(self) -> t.Generator[str, None, None]:
683 """Yield lines with the usage and examples.

Callers

nothing calls this directly

Calls 1

emit_examplesMethod · 0.95

Tested by

no test coverage detected