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 |
Private Attributes | |
_action_max_length | |
_current_indent | |
_current_section | |
_indent_increment | |
_level | |
_long_break_matcher | |
_max_help_position | |
_prog | |
_root_section | |
_whitespace_matcher | |
_width | |
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 177 of file argparse.py.
def argparse.HelpFormatter.__init__ | ( | self, | |
prog, | |||
indent_increment = 2 , |
|||
max_help_position = 24 , |
|||
width = None |
|||
) |
|
private |
Definition at line 258 of file argparse.py.
Referenced by argparse.HelpFormatter.add_argument(), argparse.HelpFormatter.add_text(), argparse.HelpFormatter.add_usage(), and argparse.HelpFormatter.start_section().
|
private |
Definition at line 220 of file argparse.py.
References argparse.HelpFormatter._current_indent, python.rootplot.argparse.HelpFormatter._current_indent, argparse.HelpFormatter._indent_increment, python.rootplot.argparse.HelpFormatter._indent_increment, PGeometricDet::Item._level, RPCMuonExtraStruct._level, TrackerGeometryCompare._level, MuonGeometryArrange._level, argparse.HelpFormatter._level, and python.rootplot.argparse.HelpFormatter._level.
Referenced by argparse.HelpFormatter._iter_indented_subactions(), and argparse.HelpFormatter.end_section().
|
private |
Definition at line 610 of file argparse.py.
References argparse.HelpFormatter._get_help_string(), python.rootplot.argparse.HelpFormatter._get_help_string(), python.rootplot.argparse.ArgumentDefaultsHelpFormatter._get_help_string(), argparse.HelpFormatter._prog, python.rootplot.argparse.HelpFormatter._prog, python.multivaluedict.dict, join(), and list().
Referenced by argparse.HelpFormatter._format_action().
|
private |
|
private |
Definition at line 507 of file argparse.py.
References argparse.HelpFormatter._action_max_length, python.rootplot.argparse.HelpFormatter._action_max_length, argparse.HelpFormatter._current_indent, python.rootplot.argparse.HelpFormatter._current_indent, argparse.HelpFormatter._expand_help(), python.rootplot.argparse.HelpFormatter._expand_help(), argparse.HelpFormatter._format_action(), python.rootplot.argparse.HelpFormatter._format_action(), argparse.HelpFormatter._format_action_invocation(), python.rootplot.argparse.HelpFormatter._format_action_invocation(), argparse.HelpFormatter._iter_indented_subactions(), python.rootplot.argparse.HelpFormatter._iter_indented_subactions(), argparse.HelpFormatter._join_parts(), python.rootplot.argparse.HelpFormatter._join_parts(), argparse.HelpFormatter._max_help_position, python.rootplot.argparse.HelpFormatter._max_help_position, extend_argparse.HelpFormatterRespectNewlines._split_lines(), argparse.HelpFormatter._split_lines(), python.rootplot.argparse.HelpFormatter._split_lines(), python.rootplot.argparse.RawTextHelpFormatter._split_lines(), Vispa.Main.RotatingIcon.RotatingIcon._width, Vispa.Gui.VispaWidget.TextField._width, TFitConstraintMGaus._width, argparse.HelpFormatter._width, python.rootplot.argparse.HelpFormatter._width, and min().
Referenced by argparse.HelpFormatter._format_action(), and argparse.HelpFormatter.add_argument().
|
private |
Definition at line 554 of file argparse.py.
References argparse.HelpFormatter._format_args(), python.rootplot.argparse.HelpFormatter._format_args(), argparse.HelpFormatter._metavar_formatter(), python.rootplot.argparse.HelpFormatter._metavar_formatter(), and join().
Referenced by argparse.HelpFormatter._format_action(), and argparse.HelpFormatter.add_argument().
|
private |
Definition at line 412 of file argparse.py.
References argparse.HelpFormatter._format_args(), python.rootplot.argparse.HelpFormatter._format_args(), argparse._set, argparse._sorted, and join().
Referenced by argparse.HelpFormatter._format_usage().
|
private |
Definition at line 593 of file argparse.py.
References argparse.HelpFormatter._metavar_formatter(), python.rootplot.argparse.HelpFormatter._metavar_formatter(), and join().
Referenced by argparse.HelpFormatter._format_action_invocation(), and argparse.HelpFormatter._format_actions_usage().
|
private |
Definition at line 502 of file argparse.py.
References argparse.HelpFormatter._current_indent, python.rootplot.argparse.HelpFormatter._current_indent, argparse.HelpFormatter._fill_text(), python.rootplot.argparse.HelpFormatter._fill_text(), python.rootplot.argparse.RawDescriptionHelpFormatter._fill_text(), Vispa.Main.RotatingIcon.RotatingIcon._width, Vispa.Gui.VispaWidget.TextField._width, TFitConstraintMGaus._width, argparse.HelpFormatter._width, and python.rootplot.argparse.HelpFormatter._width.
Referenced by argparse.HelpFormatter.add_text().
|
private |
Definition at line 320 of file argparse.py.
References argparse.HelpFormatter._current_indent, python.rootplot.argparse.HelpFormatter._current_indent, argparse.HelpFormatter._format_actions_usage(), python.rootplot.argparse.HelpFormatter._format_actions_usage(), argparse.HelpFormatter._prog, python.rootplot.argparse.HelpFormatter._prog, Vispa.Main.RotatingIcon.RotatingIcon._width, TFitConstraintMGaus._width, Vispa.Gui.VispaWidget.TextField._width, argparse.HelpFormatter._width, python.rootplot.argparse.HelpFormatter._width, python.multivaluedict.dict, and join().
Referenced by argparse.HelpFormatter.add_usage().
|
private |
Definition at line 640 of file argparse.py.
Referenced by argparse.HelpFormatter._expand_help().
|
private |
Definition at line 216 of file argparse.py.
References argparse.HelpFormatter._current_indent, python.rootplot.argparse.HelpFormatter._current_indent, argparse.HelpFormatter._indent_increment, python.rootplot.argparse.HelpFormatter._indent_increment, PGeometricDet::Item._level, RPCMuonExtraStruct._level, TrackerGeometryCompare._level, MuonGeometryArrange._level, argparse.HelpFormatter._level, and python.rootplot.argparse.HelpFormatter._level.
Referenced by argparse.HelpFormatter._iter_indented_subactions(), and argparse.HelpFormatter.start_section().
|
private |
Definition at line 620 of file argparse.py.
References argparse.HelpFormatter._dedent(), python.rootplot.argparse.HelpFormatter._dedent(), argparse.HelpFormatter._indent(), and python.rootplot.argparse.HelpFormatter._indent().
Referenced by argparse.HelpFormatter._format_action(), and argparse.HelpFormatter.add_argument().
|
private |
Definition at line 315 of file argparse.py.
References join().
Referenced by argparse.HelpFormatter._format_action().
|
private |
Definition at line 577 of file argparse.py.
References cmsPerfStripChart.format, and join().
Referenced by argparse.HelpFormatter._format_action_invocation(), and argparse.HelpFormatter._format_args().
|
private |
def argparse.HelpFormatter.add_argument | ( | self, | |
action | |||
) |
Definition at line 283 of file argparse.py.
References argparse.HelpFormatter._action_max_length, python.rootplot.argparse.HelpFormatter._action_max_length, argparse.HelpFormatter._add_item(), python.rootplot.argparse.HelpFormatter._add_item(), argparse.HelpFormatter._current_indent, python.rootplot.argparse.HelpFormatter._current_indent, argparse.HelpFormatter._format_action(), python.rootplot.argparse.HelpFormatter._format_action(), argparse.HelpFormatter._format_action_invocation(), python.rootplot.argparse.HelpFormatter._format_action_invocation(), argparse.HelpFormatter._iter_indented_subactions(), python.rootplot.argparse.HelpFormatter._iter_indented_subactions(), and bookConverter.max.
Referenced by argparse.HelpFormatter.add_arguments().
def argparse.HelpFormatter.add_arguments | ( | self, | |
actions | |||
) |
Definition at line 301 of file argparse.py.
References argparse.HelpFormatter.add_argument(), python.rootplot.argparse.HelpFormatter.add_argument(), and python.rootplot.argparse._ActionsContainer.add_argument().
def argparse.HelpFormatter.add_text | ( | self, | |
text | |||
) |
Definition at line 274 of file argparse.py.
References argparse.HelpFormatter._add_item(), python.rootplot.argparse.HelpFormatter._add_item(), argparse.HelpFormatter._format_text(), and python.rootplot.argparse.HelpFormatter._format_text().
def argparse.HelpFormatter.add_usage | ( | self, | |
usage, | |||
actions, | |||
groups, | |||
prefix = None |
|||
) |
Definition at line 278 of file argparse.py.
References argparse.HelpFormatter._add_item(), python.rootplot.argparse.HelpFormatter._add_item(), argparse.HelpFormatter._format_usage(), and python.rootplot.argparse.HelpFormatter._format_usage().
def argparse.HelpFormatter.end_section | ( | self | ) |
Definition at line 270 of file argparse.py.
References argparse.HelpFormatter._current_section, python.rootplot.argparse.HelpFormatter._current_section, argparse.HelpFormatter._dedent(), and python.rootplot.argparse.HelpFormatter._dedent().
def argparse.HelpFormatter.format_help | ( | self | ) |
def argparse.HelpFormatter.start_section | ( | self, | |
heading | |||
) |
Definition at line 264 of file argparse.py.
References argparse.HelpFormatter._add_item(), python.rootplot.argparse.HelpFormatter._add_item(), argparse.HelpFormatter._current_section, python.rootplot.argparse.HelpFormatter._current_section, argparse.HelpFormatter._indent(), and python.rootplot.argparse.HelpFormatter._indent().
|
private |
Definition at line 205 of file argparse.py.
Referenced by argparse.HelpFormatter._format_action(), and argparse.HelpFormatter.add_argument().
|
private |
Definition at line 203 of file argparse.py.
Referenced by argparse.HelpFormatter._dedent(), argparse.HelpFormatter._format_action(), argparse.HelpFormatter._format_text(), argparse.HelpFormatter._format_usage(), argparse.HelpFormatter._indent(), and argparse.HelpFormatter.add_argument().
|
private |
Definition at line 208 of file argparse.py.
Referenced by argparse.HelpFormatter.end_section(), and argparse.HelpFormatter.start_section().
|
private |
Definition at line 199 of file argparse.py.
Referenced by argparse.HelpFormatter._dedent(), and argparse.HelpFormatter._indent().
|
private |
Definition at line 204 of file argparse.py.
Referenced by argparse.HelpFormatter._dedent(), and argparse.HelpFormatter._indent().
|
private |
Definition at line 211 of file argparse.py.
|
private |
Definition at line 200 of file argparse.py.
Referenced by argparse.HelpFormatter._format_action().
|
private |
Definition at line 198 of file argparse.py.
Referenced by argparse.HelpFormatter._expand_help(), and argparse.HelpFormatter._format_usage().
|
private |
Definition at line 207 of file argparse.py.
|
private |
Definition at line 210 of file argparse.py.
|
private |
Definition at line 201 of file argparse.py.
Referenced by argparse.HelpFormatter._format_action(), argparse.HelpFormatter._format_text(), and argparse.HelpFormatter._format_usage().