MCPcopy 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

errorMethod · 0.95
check-warnings.pyFile · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
android.pyFile · 0.45
subdirFunction · 0.45
package_versionFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
urlretrieve.pyFile · 0.45

Calls 1

writeMethod · 0.45

Tested by 2

mainFunction · 0.36
mainFunction · 0.36