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.Action argparse._AttributeHolder argparse._AttributeHolder argparse._AttributeHolder argparse._AttributeHolder

Public Member Functions

def __call__
 
def __call__
 
def __init__
 
def __init__
 
- Public Member Functions inherited from argparse.Action
def __call__
 
def __call__
 
def __init__
 
def __init__
 
- Public Member Functions inherited from argparse._AttributeHolder
def __repr__
 
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 978 of file argparse.py.

Constructor & Destructor Documentation

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

Definition at line 984 of file argparse.py.

Referenced by argparse._HelpAction.__call__(), and argparse._HelpAction.__init__().

985  help=None):
986  super(_HelpAction, self).__init__(
987  option_strings=option_strings,
988  dest=dest,
989  default=default,
990  nargs=0,
991  help=help)
def argparse._HelpAction.__init__ (   self,
  option_strings,
  dest = SUPPRESS,
  default = SUPPRESS,
  help = None 
)

Definition at line 996 of file argparse.py.

References argparse._HelpAction.__init__().

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

Referenced by argparse._HelpAction.__call__().

993  def __call__(self, parser, namespace, values, option_string=None):
994  parser.print_help()
995  parser.exit()
996 
def argparse._HelpAction.__call__ (   self,
  parser,
  namespace,
  values,
  option_string = None 
)

Definition at line 1004 of file argparse.py.

References argparse._HelpAction.__call__(), and argparse._HelpAction.__init__().

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