Module optparse :: Class BadOptionError
[hide private]
[frames] | no frames]

type BadOptionError

              object --+            
                       |            
exceptions.BaseException --+        
                           |        
        exceptions.Exception --+    
                               |    
                   OptParseError --+
                                   |
                                  BadOptionError
Known Subclasses:

Raised if an invalid option is seen on the command line.

Instance Methods [hide private]
 
__init__(self, opt_str)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
__str__(self)
str(x)

Inherited from exceptions.Exception: __new__

Inherited from exceptions.BaseException: __delattr__, __getattribute__, __getitem__, __getslice__, __reduce__, __repr__, __setattr__, __setstate__

Properties [hide private]

Inherited from exceptions.BaseException: args, message

Method Details [hide private]

__init__(self, opt_str)
(Constructor)

 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: exceptions.BaseException.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

 

str(x)

Overrides: exceptions.BaseException.__str__
(inherited documentation)