MCPcopy
hub / github.com/prompt-toolkit/ptpython / __init__

Method __init__

src/ptpython/repl.py:85–88  ·  view source on GitHub ↗
(self, *a, **kw)

Source from the content-addressed store, hash-verified

83
84class PythonRepl(PythonInput):
85 def __init__(self, *a, **kw) -> None:
86 self._startup_paths: Sequence[str | Path] | None = kw.pop("startup_paths", None)
87 super().__init__(*a, **kw)
88 self._load_start_paths()
89
90 def _load_start_paths(self) -> None:
91 "Start the Read-Eval-Print Loop."

Callers

nothing calls this directly

Calls 1

_load_start_pathsMethod · 0.95

Tested by

no test coverage detected