Raised if conflicting options are added to an OptionParser.
class attributes and properties:
args: <attribute 'args' of 'exceptions.BaseException' objects>
message: <member 'message' of 'exceptions.BaseException' objects>
methods:
def __init__(self, msg, option):
*no docstring available*
arguments:
- self: <UNKNOWN>
- msg: <UNKNOWN>
- option: <UNKNOWN>
return value:
<UNKNOWN>
def __str__(self):
*no docstring available*
arguments:
return value:
<UNKNOWN>
source: compat/optparse.py
|
def __str__(self): |
if self.option_id: |
return "option %s: %s" % (self.option_id, self.msg) |
else: |
return self.msg | |