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

Function setup_config

bpython/test/test_repl.py:26–30  ·  view source on GitHub ↗
(conf)

Source from the content-addressed store, hash-verified

24
25
26def setup_config(conf):
27 config_struct = config.Config(TEST_CONFIG)
28 if conf is not None and "autocomplete_mode" in conf:
29 config_struct.autocomplete_mode = conf["autocomplete_mode"]
30 return config_struct
31
32
33class FakeHistory(repl.History):

Callers 1

__init__Method · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected