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

Method __init__

Lib/optparse.py:138–140  ·  view source on GitHub ↗
(self, opt_str, possibilities)

Source from the content-addressed store, hash-verified

136 Raised if an ambiguous option is seen on the command line.
137 """
138 def __init__(self, opt_str, possibilities):
139 BadOptionError.__init__(self, opt_str)
140 self.possibilities = possibilities
141
142 def __str__(self):
143 return (_("ambiguous option: %s (%s?)")

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected