MCPcopy Index your code
hub / github.com/python/cpython / exit

Method exit

Lib/test/test_argparse.py:213–215  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

211 return stderr_to_parser_error(parse_args, *args, **kwargs)
212
213 def exit(self, *args, **kwargs):
214 exit = super(ErrorRaisingArgumentParser, self).exit
215 return stderr_to_parser_error(exit, *args, **kwargs)
216
217 def error(self, *args, **kwargs):
218 error = super(ErrorRaisingArgumentParser, self).error

Callers 1

test_argparse.pyFile · 0.45

Calls 2

superClass · 0.85
stderr_to_parser_errorFunction · 0.85

Tested by

no test coverage detected