Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ exit
Method
exit
Lib/optparse.py:1546–1549 ·
view source on GitHub ↗
(self, status=0, msg=None)
Source
from the content-addressed store, hash-verified
1544
return
self.expand_prog_name(self.description)
1545
1546
def
exit(self, status=0, msg=None):
1547
if
msg:
1548
sys.stderr.write(msg)
1549
sys.exit(status)
1550
1551
def
error(self, msg):
1552
""
"error(msg : string)
Callers
15
error
Method · 0.95
main
Function · 0.45
main
Function · 0.45
_main
Function · 0.45
compileall.py
File · 0.45
cli
Function · 0.45
_script
Function · 0.45
errprint
Function · 0.45
doctest.py
File · 0.45
timeit.py
File · 0.45
main
Function · 0.45
test
Function · 0.45
Calls
1
write
Method · 0.45
Tested by
1
child_fn
Function · 0.36