Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
optparse.BadOptionError Class Reference
Inheritance diagram for optparse.BadOptionError:
Inheritance graph
Collaboration diagram for optparse.BadOptionError:
Collaboration graph

List of all members.

Public Member Functions

def __init__
def __str__

Public Attributes


Detailed Description

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

Definition at line 131 of file

Constructor & Destructor Documentation

def optparse.BadOptionError.__init__ (   self,

Reimplemented from optparse.OptParseError.

Definition at line 135 of file

00136     def __init__(self, opt_str):
00137         self.opt_str = opt_str

Here is the caller graph for this function:

Member Function Documentation

Reimplemented from optparse.OptParseError.

Reimplemented in optparse.AmbiguousOptionError.

Definition at line 138 of file

00139     def __str__(self):
00140         return _("no such option: %s") % self.opt_str

Member Data Documentation

Reimplemented in optparse.OptionError.

Definition at line 98 of file

Definition at line 136 of file

The documentation for this class was generated from the following file: