Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ 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
email-read-alternative.py
File · 0.45
check-warnings.py
File · 0.45
main
Function · 0.45
main
Function · 0.45
main
Function · 0.45
android.py
File · 0.45
subdir
Function · 0.45
package_version
Function · 0.45
main
Function · 0.45
main
Function · 0.45
urlretrieve.py
File · 0.45
Calls
1
write
Method · 0.45
Tested by
2
main
Function · 0.36
main
Function · 0.36