Back to index

python3.2  3.2.2
Public Member Functions
distutils.fancy_getopt.OptionDummy Class Reference

List of all members.

Public Member Functions

def __init__

Detailed Description

Dummy class just used as a place to hold command-line option
values as instance attributes.

Definition at line 436 of file fancy_getopt.py.


Constructor & Destructor Documentation

def distutils.fancy_getopt.OptionDummy.__init__ (   self,
  options = [] 
)
Create a new OptionDummy instance.  The attributes listed in
'options' will be initialized to None.

Definition at line 440 of file fancy_getopt.py.

00440 
00441     def __init__(self, options=[]):
00442         """Create a new OptionDummy instance.  The attributes listed in
00443         'options' will be initialized to None."""
00444         for opt in options:
00445             setattr(self, opt, None)
00446 

Here is the caller graph for this function:


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