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

Method print_flag_help

traitlets/config/application.py:552–554  ·  view source on GitHub ↗

Print the flag part of the help.

(self)

Source from the content-addressed store, hash-verified

550 raise
551
552 def print_flag_help(self) -> None:
553 """Print the flag part of the help."""
554 print("\n".join(self.emit_flag_help()))
555
556 def emit_flag_help(self) -> t.Generator[str, None, None]:
557 """Yield the lines for the flag part of the help."""

Callers 1

test_flags_help_msgMethod · 0.80

Calls 1

emit_flag_helpMethod · 0.95

Tested by 1

test_flags_help_msgMethod · 0.64