Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/fluentpython/example-code-2e
/ main
Function
main
18-with-match/lispy/py3.9/lis.py:203–208 ·
view source on GitHub ↗
(args: list[str])
Source
from the content-addressed store, hash-verified
201
return
result
202
203
def
main(args: list[str]) -> None:
204
if
len(args) == 1:
205
with
open(args[0])
as
fp:
206
run(fp.read())
207
else
:
208
repl()
209
210
if
__name__ ==
'__main__'
:
211
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