MCPcopy Create free account
hub / github.com/bpython/bpython / __init__

Method __init__

bpython/test/test_repl.py:42–45  ·  view source on GitHub ↗
(self, conf=None)

Source from the content-addressed store, hash-verified

40
41class FakeRepl(repl.Repl):
42 def __init__(self, conf=None):
43 super().__init__(repl.Interpreter(), setup_config(conf))
44 self._current_line = ""
45 self._cursor_offset = 0
46
47 def _get_current_line(self) -> str:
48 return self._current_line

Callers

nothing calls this directly

Calls 1

setup_configFunction · 0.70

Tested by

no test coverage detected