BASIS  r3148
basis::argparse::HelpFormatter Class Reference
+ Inheritance diagram for basis::argparse::HelpFormatter:

List of all members.

Classes

class  _Section

Public Member Functions

def __init__
def add_argument
def add_arguments
def add_text
def add_usage
def end_section
def format_help
def start_section

Detailed Description

Formatter for generating usage messages and argument help strings.

Only the name of this class is considered a public API. All the methods
provided by the class are considered an implementation detail.

Definition at line 147 of file argparse.py.


Constructor & Destructor Documentation

def basis::argparse::HelpFormatter::__init__ (   self,
  prog,
  indent_increment = 2,
  max_help_position = 24,
  width = None 
)

Definition at line 154 of file argparse.py.


Member Function Documentation

def basis::argparse::HelpFormatter::add_argument (   self,
  action 
)

Definition at line 253 of file argparse.py.

def basis::argparse::HelpFormatter::add_arguments (   self,
  actions 
)

Definition at line 271 of file argparse.py.

def basis::argparse::HelpFormatter::add_text (   self,
  text 
)

Definition at line 244 of file argparse.py.

def basis::argparse::HelpFormatter::add_usage (   self,
  usage,
  actions,
  groups,
  prefix = None 
)

Definition at line 248 of file argparse.py.

def basis::argparse::HelpFormatter::end_section (   self)

Definition at line 240 of file argparse.py.

def basis::argparse::HelpFormatter::format_help (   self)

Definition at line 278 of file argparse.py.

def basis::argparse::HelpFormatter::start_section (   self,
  heading 
)

Definition at line 234 of file argparse.py.


The documentation for this class was generated from the following file: