Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
82
def
default_editor() -> str:
83
""
"Returns the default editor."
""
84
return
os.environ.get(
"VISUAL"
, os.environ.get(
"EDITOR"
,
"vi"
))
85
86
87
def
fill_config_with_default_values(
Callers
1
Config
Class · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected