Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemathinc
GitHub Repository: sagemathinc/python-wasm
Path: blob/main/python/pylang/src/lib/sys.py
1398 views
1
# Placeholder for now -- nothing implemented
2
3
def exit(status=None):
4
if status is None:
5
status = 0
6
elif not isinstance(status, int):
7
print(status)
8
status = 1
9
process.exit(status)
10
11
argv = process.argv
12