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 978 of file argparse.py.


Constructor & Destructor Documentation

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

Definition at line 980 of file argparse.py.

00985                            :
00986         super(_HelpAction, self).__init__(
00987             option_strings=option_strings,
00988             dest=dest,
00989             default=default,
00990             nargs=0,
00991             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 992 of file argparse.py.

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

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