CMS 3D CMS Logo

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__ (self, parser, namespace, values, option_string=None)
 
def __init__ (self, option_strings, dest=SUPPRESS, default=SUPPRESS, help=None)
 
- Public Member Functions inherited from argparse.Action
def __call__ (self, parser, namespace, values, option_string=None)
 
def __init__ (self, option_strings, dest, nargs=None, const =None, default=None, type=None, choices=None, required=False, help=None, metavar=None)
 
- Public Member Functions inherited from argparse._AttributeHolder
def __repr__ (self)
 

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.

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

Member Function Documentation

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

Definition at line 1004 of file argparse.py.

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