Back to index

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

List of all members.

Public Member Functions

def __init__
def __str__

Public Attributes


Detailed Description

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

Definition at line 141 of file

Constructor & Destructor Documentation

def optparse.AmbiguousOptionError.__init__ (   self,

Definition at line 145 of file

00146     def __init__(self, opt_str, possibilities):
00147         BadOptionError.__init__(self, opt_str)
00148         self.possibilities = possibilities

Here is the caller graph for this function:

Member Function Documentation

Reimplemented from optparse.BadOptionError.

Definition at line 149 of file

00150     def __str__(self):
00151         return (_("ambiguous option: %s (%s?)")
00152                 % (self.opt_str, ", ".join(self.possibilities)))

Member Data Documentation

Reimplemented in optparse.OptionError.

Definition at line 98 of file

Definition at line 136 of file

Definition at line 147 of file

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