Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/fluentpython/example-code-2e
/ main
Function
main
18-with-match/lispy/py3.10/lis.py:205–210 ·
view source on GitHub ↗
(args: list[str])
Source
from the content-addressed store, hash-verified
203
return
result
204
205
def
main(args: list[str]) -> None:
206
if
len(args) == 1:
207
with
open(args[0])
as
fp:
208
run(fp.read())
209
else
:
210
repl()
211
212
if
__name__ ==
'__main__'
:
213
import
sys
Callers
1
lis.py
File · 0.70
Calls
3
read
Method · 0.80
run
Function · 0.70
repl
Function · 0.70
Tested by
no test coverage detected