Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TimMcCool/scratchattach
/ pretty_unparse
Function
pretty_unparse
scratchattach/editor/code_translation/parse.py:162–163 ·
view source on GitHub ↗
(tree: Tree)
Source
from the content-addressed store, hash-verified
160
return
"\n\n"
.join(items)
161
162
def
pretty_unparse(tree: Tree):
163
return
PrettyUnparser().transform(tree)
164
165
if
__name__ ==
"__main__"
:
166
EXAMPLE_FILE = Path(__file__).parent /
"example.txt"
Callers
1
parse.py
File · 0.85
Calls
1
PrettyUnparser
Class · 0.85
Tested by
no test coverage detected