MCPcopy Index your code
hub / github.com/prompt-toolkit/ptpython / _Parser

Class _Parser

src/ptpython/entry_points/run_ptpython.py:50–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48
49
50class _Parser(argparse.ArgumentParser):
51 def print_help(self, file: _SupportsWrite | None = None) -> None:
52 super().print_help()
53 print(
54 dedent(
55 """
56 environment variables:
57 PTPYTHON_CONFIG_HOME: a configuration directory to use
58 PYTHONSTARTUP: file executed on interactive startup (no default)
59 """,
60 ).rstrip(),
61 )
62
63
64def create_parser() -> _Parser:

Callers 1

create_parserFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected