CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
argparse._HelpAction Class Reference
Inheritance diagram for argparse._HelpAction:
argparse.Action argparse._AttributeHolder

Public Member Functions

def __call__
 
def __init__
 
- Public Member Functions inherited from argparse.Action
def __call__
 
def __init__
 
- Public Member Functions inherited from argparse._AttributeHolder
def __repr__
 

Additional Inherited Members

- Public Attributes inherited from argparse.Action
 choices
 
 const
 
 default
 
 dest
 
 help
 
 metavar
 
 nargs
 
 option_strings
 
 required
 
 type
 

Detailed Description

Definition at line 990 of file argparse.py.

Constructor & Destructor Documentation

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

Definition at line 996 of file argparse.py.

997  help=None):
998  super(_HelpAction, self).__init__(
999  option_strings=option_strings,
1000  dest=dest,
1001  default=default,
1002  nargs=0,
1003  help=help)

Member Function Documentation

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

Definition at line 1004 of file argparse.py.

1005  def __call__(self, parser, namespace, values, option_string=None):
1006  parser.print_help()
1007  parser.exit()
1008