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

Class ArgumentParserError

Lib/test/test_argparse.py:159–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157
158
159class ArgumentParserError(Exception):
160
161 def __init__(self, message, stdout=None, stderr=None, error_code=None):
162 Exception.__init__(self, message, stdout, stderr)
163 self.message = message
164 self.stdout = stdout
165 self.stderr = stderr
166 self.error_code = error_code
167
168
169def stderr_to_parser_error(parse_args, *args, **kwargs):

Callers 3

stderr_to_parser_errorFunction · 0.85
__call__Method · 0.85
__call__Method · 0.85

Calls

no outgoing calls

Tested by 3

stderr_to_parser_errorFunction · 0.68
__call__Method · 0.68
__call__Method · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…