MCPcopy Create free account
hub / github.com/EasyIME/PIME / _help_callback

Method _help_callback

python/python3/tornado/options.py:468–471  ·  view source on GitHub ↗
(self, value: bool)

Source from the content-addressed store, hash-verified

466 print(file=file)
467
468 def _help_callback(self, value: bool) -> None:
469 if value:
470 self.print_help()
471 sys.exit(0)
472
473 def add_parse_callback(self, callback: Callable[[], None]) -> None:
474 """Adds a parse callback, to be invoked when option parsing is done."""

Callers

nothing calls this directly

Calls 1

print_helpMethod · 0.95

Tested by

no test coverage detected