Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/bpython/bpython
/ preprocess
Function
preprocess
bpython/curtsiesfrontend/preprocess.py:52–53 ·
view source on GitHub ↗
(s: str, compiler: CommandCompiler)
Source
from the content-addressed store, hash-verified
50
51
52
def
preprocess(s: str, compiler: CommandCompiler) -> str:
53
return
indent_empty_lines(leading_tabs_to_spaces(s), compiler)
Callers
2
process_control_event
Method · 0.90
send_session_to_external_editor
Method · 0.90
Calls
2
indent_empty_lines
Function · 0.85
leading_tabs_to_spaces
Function · 0.85
Tested by
no test coverage detected