MCPcopy Index your code
hub / github.com/RustPython/RustPython / _warning

Method _warning

Lib/argparse.py:2782–2784  ·  view source on GitHub ↗
(self, message)

Source from the content-addressed store, hash-verified

2780 self.exit(2, _('%(prog)s: error: %(message)s\n') % args)
2781
2782 def _warning(self, message):
2783 args = {'prog': self.prog, 'message': message}
2784 self._print_message(_('%(prog)s: warning: %(message)s\n') % args, _sys.stderr)

Callers 3

consume_optionalMethod · 0.95
consume_positionalsMethod · 0.95
__call__Method · 0.80

Calls 2

_print_messageMethod · 0.95
_Function · 0.50

Tested by

no test coverage detected