MCPcopy Index your code
hub / github.com/fluentpython/example-code-2e / main

Function main

02-array-seq/lispy/py3.9/lis.py:200–205  ·  view source on GitHub ↗
(args: list[str])

Source from the content-addressed store, hash-verified

198 return result
199
200def main(args: list[str]) -> None:
201 if len(args) == 1:
202 with open(args[0]) as fp:
203 run(fp.read())
204 else:
205 repl()
206
207if __name__ == '__main__':
208 import sys

Callers 1

lis.pyFile · 0.70

Calls 3

readMethod · 0.80
runFunction · 0.70
replFunction · 0.70

Tested by

no test coverage detected