|
OpenQuizz
Une application de gestion des contenus pédagogiques
|


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) |
A prettier/less verbose help formatter for optparse.
| def __init__ | ( | self, | |
| * | args, | ||
| ** | kwargs | ||
| ) |
| def format_description | ( | self, | |
| description | |||
| ) |
| def format_epilog | ( | self, | |
| epilog | |||
| ) |
| def format_heading | ( | self, | |
| heading | |||
| ) |
| def format_option_strings | ( | self, | |
| option | |||
| ) |
| def format_usage | ( | self, | |
| usage | |||
| ) |
Ensure there is only one newline between usage and the first heading if there is no description.
| def indent_lines | ( | self, | |
| text, | |||
| indent | |||
| ) |