Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
argparse._SubParsersAction._ChoicesPseudoAction Class Reference
Inheritance diagram for argparse._SubParsersAction._ChoicesPseudoAction:
Inheritance graph
Collaboration diagram for argparse._SubParsersAction._ChoicesPseudoAction:
Collaboration graph

List of all members.

Public Member Functions

def __init__
def __call__
def __repr__

Public Attributes

_PyObject_HEAD_EXTRA Py_ssize_t ob_refcnt
struct _typeobjectob_type

Detailed Description

Definition at line 1025 of file

Constructor & Destructor Documentation

def argparse._SubParsersAction._ChoicesPseudoAction.__init__ (   self,

Definition at line 1027 of file

01028         def __init__(self, name, aliases, help):
01029             metavar = dest = name
01030             if aliases:
01031                 metavar += ' (%s)' % ', '.join(aliases)
01032             sup = super(_SubParsersAction._ChoicesPseudoAction, self)
01033             sup.__init__(option_strings=[], dest=dest, help=help,
01034                          metavar=metavar)
    def __init__(self,

Here is the caller graph for this function:

Member Function Documentation

def argparse.Action.__call__ (   self,
  option_string = None 
) [inherited]
def argparse._AttributeHolder.__repr__ (   self) [inherited]

Definition at line 121 of file

00122     def __repr__(self):
00123         type_name = type(self).__name__
00124         arg_strings = []
00125         for arg in self._get_args():
00126             arg_strings.append(repr(arg))
00127         for name, value in self._get_kwargs():
00128             arg_strings.append('%s=%r' % (name, value))
00129         return '%s(%s)' % (type_name, ', '.join(arg_strings))

Here is the call graph for this function:

Member Data Documentation

Definition at line 780 of file

argparse.Action.const [inherited]

Definition at line 777 of file

Definition at line 778 of file

argparse.Action.dest [inherited] [inherited]

Definition at line 782 of file

Definition at line 783 of file

argparse.Action.nargs [inherited]

Definition at line 776 of file

Definition at line 107 of file object.h.

struct _typeobject* _object::ob_type [inherited]

Definition at line 108 of file object.h.

Definition at line 774 of file

Definition at line 781 of file

argparse.Action.type [inherited]

Definition at line 779 of file

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