CMS 3D CMS Logo

Public Member Functions

argparse::_StoreConstAction Class Reference

Inheritance diagram for argparse::_StoreConstAction:
argparse::Action argparse::Action argparse::_AttributeHolder argparse::_AttributeHolder argparse::_AttributeHolder argparse::_AttributeHolder argparse::_StoreFalseAction argparse::_StoreFalseAction argparse::_StoreTrueAction argparse::_StoreTrueAction

List of all members.

Public Member Functions

def __call__
def __call__
def __init__
def __init__

Detailed Description

Definition at line 838 of file argparse.py.


Constructor & Destructor Documentation

def argparse::_StoreConstAction::__init__ (   self,
  option_strings,
  dest,
  const,
  default = None,
  required = False,
  help = None,
  metavar = None 
)

Definition at line 840 of file argparse.py.

00848                               :
00849         super(_StoreConstAction, self).__init__(
00850             option_strings=option_strings,
00851             dest=dest,
00852             nargs=0,
00853             const=const,
00854             default=default,
00855             required=required,
00856             help=help)

def argparse::_StoreConstAction::__init__ (   self,
  option_strings,
  dest,
  const,
  default = None,
  required = False,
  help = None,
  metavar = None 
)

Definition at line 851 of file argparse.py.

00858                               :
00859         super(_StoreConstAction, self).__init__(
00860             option_strings=option_strings,
00861             dest=dest,
00862             nargs=0,
00863             const=const,
00864             default=default,
00865             required=required,
00866             help=help)
00867 

Member Function Documentation

def argparse::_StoreConstAction::__call__ (   self,
  parser,
  namespace,
  values,
  option_string = None 
)

Reimplemented from argparse::Action.

Definition at line 857 of file argparse.py.

00858                                                                      :
00859         setattr(namespace, self.dest, self.const)
00860 

def argparse::_StoreConstAction::__call__ (   self,
  parser,
  namespace,
  values,
  option_string = None 
)

Reimplemented from argparse::Action.

Definition at line 868 of file argparse.py.

00868                                                                      :
00869         setattr(namespace, self.dest, self.const)
00870 
00871