Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RT-Thread/env-windows
/ exit
Method
exit
tools/python-3.11.9-amd64/Lib/optparse.py:1556–1559 ·
view source on GitHub ↗
(self, status=0, msg=None)
Source
from the content-addressed store, hash-verified
1554
return
self.expand_prog_name(self.description)
1555
1556
def
exit(self, status=0, msg=None):
1557
if
msg:
1558
sys.stderr.write(msg)
1559
sys.exit(status)
1560
1561
def
error(self, msg):
1562
""
"error(msg : string)
Callers
15
error
Method · 0.95
main
Function · 0.45
main
Function · 0.45
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
doctest.py
File · 0.45
timeit.py
File · 0.45
usage
Function · 0.45
Calls
1
write
Method · 0.45
Tested by
1
main
Function · 0.36