CMS 3D CMS Logo

Public Member Functions

argparse::_HelpAction Class Reference

Inheritance diagram for argparse::_HelpAction:
argparse::Action argparse::Action argparse::_AttributeHolder argparse::_AttributeHolder argparse::_AttributeHolder argparse::_AttributeHolder

List of all members.

Public Member Functions

def __call__
def __call__
def __init__
def __init__

Detailed Description

Definition at line 979 of file argparse.py.


Constructor & Destructor Documentation

def argparse::_HelpAction::__init__ (   self,
  option_strings,
  dest = SUPPRESS,
  default = SUPPRESS,
  help = None 
)

Definition at line 981 of file argparse.py.

00986                            :
00987         super(_HelpAction, self).__init__(
00988             option_strings=option_strings,
00989             dest=dest,
00990             default=default,
00991             nargs=0,
00992             help=help)

def argparse::_HelpAction::__init__ (   self,
  option_strings,
  dest = SUPPRESS,
  default = SUPPRESS,
  help = None 
)

Definition at line 992 of file argparse.py.

00996                            :
00997         super(_HelpAction, self).__init__(
00998             option_strings=option_strings,
00999             dest=dest,
01000             default=default,
01001             nargs=0,
01002             help=help)
01003 

Member Function Documentation

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

Reimplemented from argparse::Action.

Definition at line 993 of file argparse.py.

00994                                                                      :
00995         parser.print_help()
00996         parser.exit()
00997 

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

Reimplemented from argparse::Action.

Definition at line 1004 of file argparse.py.

01004                                                                      :
01005         parser.print_help()
01006         parser.exit()
01007 
01008