MCPcopy Index your code
hub / github.com/bpython/bpython / default_editor

Function default_editor

bpython/config.py:82–84  ·  view source on GitHub ↗

Returns the default editor.

()

Source from the content-addressed store, hash-verified

80
81
82def default_editor() -> str:
83 """Returns the default editor."""
84 return os.environ.get("VISUAL", os.environ.get("EDITOR", "vi"))
85
86
87def fill_config_with_default_values(

Callers 1

ConfigClass · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected