Searched refs:conflict_handler (Results 1 – 8 of 8) sorted by relevance
/third_party/python/Lib/ |
D | argparse.py | 1313 conflict_handler): argument 1319 self.conflict_handler = conflict_handler 1495 conflict_handler=group.conflict_handler) 1572 handler_func_name = '_handle_conflict_%s' % self.conflict_handler 1577 raise ValueError(msg % self.conflict_handler) 1590 conflict_handler = self._get_handler() 1591 conflict_handler(action, confl_optionals) 1622 update('conflict_handler', container.conflict_handler) 1703 conflict_handler='error', argument 1712 conflict_handler=conflict_handler)
|
D | optparse.py | 920 def __init__(self, option_class, conflict_handler, description): argument 928 self.set_conflict_handler(conflict_handler) 950 self.conflict_handler = handler 978 handler = self.conflict_handler 1081 self, parser.option_class, parser.conflict_handler, description) 1183 conflict_handler="error", argument 1190 self, option_class, conflict_handler, description)
|
/third_party/python/Doc/library/ |
D | optparse.rst | 832 ``conflict_handler`` (default: ``"error"``) 1429 parser = OptionParser(..., conflict_handler=handler) 1448 parser = OptionParser(conflict_handler="resolve") 1453 using the ``-n`` option string. Since ``conflict_handler`` is ``"resolve"``,
|
D | argparse.rst | 144 argument_default=None, conflict_handler='error', \ 570 conflict_handler section in ArgumentParser objects 587 ``'resolve'`` can be supplied to the ``conflict_handler=`` argument of 590 >>> parser = argparse.ArgumentParser(prog='PROG', conflict_handler='resolve')
|
/third_party/littlefs/scripts/ |
D | perf.py | 1155 conflict_handler='ignore')
|
D | bench.py | 1214 conflict_handler='ignore')
|
D | test.py | 1249 conflict_handler='ignore')
|
/third_party/python/Lib/test/ |
D | test_argparse.py | 4654 conflict_handler='foo') 4667 parser = get_parser(prog='PROG', conflict_handler='resolve')
|