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

Method set_conflict_handler

Lib/optparse.py:937–940  ·  view source on GitHub ↗
(self, handler)

Source from the content-addressed store, hash-verified

935 self.defaults = parser.defaults
936
937 def set_conflict_handler(self, handler):
938 if handler not in ("error", "resolve"):
939 raise ValueError("invalid conflict_resolution value %r" % handler)
940 self.conflict_handler = handler
941
942 def set_description(self, description):
943 self.description = description

Callers 3

__init__Method · 0.95
setUpMethod · 0.80
setUpMethod · 0.80

Calls

no outgoing calls

Tested by 2

setUpMethod · 0.64
setUpMethod · 0.64