MCPcopy 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

errorMethod · 0.95
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
_mainFunction · 0.45
compileall.pyFile · 0.45
cliFunction · 0.45
_scriptFunction · 0.45
doctest.pyFile · 0.45
timeit.pyFile · 0.45
usageFunction · 0.45

Calls 1

writeMethod · 0.45

Tested by 1

mainFunction · 0.36