MCPcopy
hub / github.com/tanelpoder/0xtools / _handle_conflict_error

Method _handle_conflict_error

lib/0xtools/argparse.py:1471–1476  ·  view source on GitHub ↗
(self, action, conflicting_actions)

Source from the content-addressed store, hash-verified

1469 conflict_handler(action, confl_optionals)
1470
1471 def _handle_conflict_error(self, action, conflicting_actions):
1472 message = _('conflicting option string(s): %s')
1473 conflict_string = ', '.join([option_string
1474 for option_string, action
1475 in conflicting_actions])
1476 raise ArgumentError(action, message % conflict_string)
1477
1478 def _handle_conflict_resolve(self, action, conflicting_actions):
1479

Callers

nothing calls this directly

Calls 1

ArgumentErrorClass · 0.85

Tested by

no test coverage detected