MCPcopy 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
52def preprocess(s: str, compiler: CommandCompiler) -> str:
53 return indent_empty_lines(leading_tabs_to_spaces(s), compiler)

Callers 2

process_control_eventMethod · 0.90

Calls 2

indent_empty_linesFunction · 0.85
leading_tabs_to_spacesFunction · 0.85

Tested by

no test coverage detected