OpenQuizz
Une application de gestion des contenus pédagogiques
PrettyHelpFormatter Class Reference
Inheritance diagram for PrettyHelpFormatter:
Collaboration diagram for PrettyHelpFormatter:

Public Member Functions

def __init__ (self, *args, **kwargs)
 
def format_option_strings (self, option)
 
def format_heading (self, heading)
 
def format_usage (self, usage)
 
def format_description (self, description)
 
def format_epilog (self, epilog)
 
def indent_lines (self, text, indent)
 

Detailed Description

A prettier/less verbose help formatter for optparse.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
args,
**  kwargs 
)

Member Function Documentation

◆ format_description()

def format_description (   self,
  description 
)

◆ format_epilog()

def format_epilog (   self,
  epilog 
)

◆ format_heading()

def format_heading (   self,
  heading 
)

◆ format_option_strings()

def format_option_strings (   self,
  option 
)

◆ format_usage()

def format_usage (   self,
  usage 
)
Ensure there is only one newline between usage and the first heading
if there is no description.

◆ indent_lines()

def indent_lines (   self,
  text,
  indent 
)

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