Classes | |
class | _Section |
Public Member Functions | |
def | __init__ |
def | __init__ |
def | add_argument |
def | add_argument |
def | add_arguments |
def | add_arguments |
def | add_text |
def | add_text |
def | add_usage |
def | add_usage |
def | end_section |
def | end_section |
def | format_help |
def | format_help |
def | start_section |
def | start_section |
Private Member Functions | |
def | _add_item |
def | _add_item |
def | _dedent |
def | _dedent |
def | _expand_help |
def | _expand_help |
def | _fill_text |
def | _fill_text |
def | _format_action |
def | _format_action |
def | _format_action_invocation |
def | _format_action_invocation |
def | _format_actions_usage |
def | _format_actions_usage |
def | _format_args |
def | _format_args |
def | _format_text |
def | _format_text |
def | _format_usage |
def | _format_usage |
def | _get_help_string |
def | _get_help_string |
def | _indent |
def | _indent |
def | _iter_indented_subactions |
def | _iter_indented_subactions |
def | _join_parts |
def | _join_parts |
def | _metavar_formatter |
def | _metavar_formatter |
def | _split_lines |
def | _split_lines |
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 147 of file argparse.py.
def argparse.HelpFormatter.__init__ | ( | self, | |
prog, | |||
indent_increment = 2 , |
|||
max_help_position = 24 , |
|||
width = None |
|||
) |
def argparse.HelpFormatter.__init__ | ( | self, | |
prog, | |||
indent_increment = 2 , |
|||
max_help_position = 24 , |
|||
width = None |
|||
) |
Definition at line 188 of file argparse.py.
References argparse.HelpFormatter._action_max_length, argparse.HelpFormatter._current_indent, argparse.HelpFormatter._current_section, argparse.HelpFormatter._indent_increment, PGeometricDet::Item._level, TrackerGeometryCompare._level, MuonGeometryArrange._level, argparse.HelpFormatter._level, argparse.HelpFormatter._long_break_matcher, argparse.HelpFormatter._max_help_position, argparse.HelpFormatter._prog, argparse.HelpFormatter._root_section, argparse.HelpFormatter._whitespace_matcher, Vispa.Main.RotatingIcon.RotatingIcon._width, Vispa.Gui.VispaWidget.TextField._width, and argparse.HelpFormatter._width.
|
private |
Definition at line 228 of file argparse.py.
Referenced by argparse.HelpFormatter._add_item(), argparse.HelpFormatter.add_argument(), python.rootplot.argparse.HelpFormatter.add_argument(), argparse.HelpFormatter.add_text(), python.rootplot.argparse.HelpFormatter.add_text(), argparse.HelpFormatter.add_usage(), python.rootplot.argparse.HelpFormatter.add_usage(), argparse.HelpFormatter.start_section(), and python.rootplot.argparse.HelpFormatter.start_section().
|
private |
Definition at line 258 of file argparse.py.
References argparse.HelpFormatter._add_item().
|
private |
Definition at line 190 of file argparse.py.
References argparse.HelpFormatter._current_indent, argparse.HelpFormatter._indent_increment, PGeometricDet::Item._level, TrackerGeometryCompare._level, MuonGeometryArrange._level, and argparse.HelpFormatter._level.
Referenced by argparse.HelpFormatter._dedent(), argparse.HelpFormatter._iter_indented_subactions(), python.rootplot.argparse.HelpFormatter._iter_indented_subactions(), argparse.HelpFormatter.end_section(), and python.rootplot.argparse.HelpFormatter.end_section().
|
private |
Definition at line 220 of file argparse.py.
References argparse.HelpFormatter._current_indent, argparse.HelpFormatter._dedent(), argparse.HelpFormatter._indent_increment, PGeometricDet::Item._level, TrackerGeometryCompare._level, MuonGeometryArrange._level, argparse.HelpFormatter._level, and dbtoconf.object.
|
private |
Definition at line 590 of file argparse.py.
References argparse.HelpFormatter._get_help_string(), argparse.HelpFormatter._prog, python.multivaluedict.dict, join(), and list().
Referenced by argparse.HelpFormatter._expand_help(), argparse.HelpFormatter._format_action(), and python.rootplot.argparse.HelpFormatter._format_action().
|
private |
Definition at line 610 of file argparse.py.
References argparse.HelpFormatter._expand_help(), argparse.HelpFormatter._get_help_string(), argparse.HelpFormatter._prog, python.multivaluedict.dict, join(), and list().
|
private |
Definition at line 618 of file argparse.py.
Referenced by argparse.HelpFormatter._fill_text(), argparse.HelpFormatter._format_text(), and python.rootplot.argparse.HelpFormatter._format_text().
|
private |
|
private |
Definition at line 485 of file argparse.py.
References argparse.HelpFormatter._action_max_length, argparse.HelpFormatter._current_indent, argparse.HelpFormatter._expand_help(), argparse.HelpFormatter._format_action(), argparse.HelpFormatter._format_action_invocation(), argparse.HelpFormatter._iter_indented_subactions(), argparse.HelpFormatter._join_parts(), argparse.HelpFormatter._max_help_position, argparse.HelpFormatter._split_lines(), Vispa.Main.RotatingIcon.RotatingIcon._width, Vispa.Gui.VispaWidget.TextField._width, argparse.HelpFormatter._width, and bookConverter.min.
Referenced by argparse.HelpFormatter._format_action(), python.rootplot.argparse.HelpFormatter._format_action(), argparse.HelpFormatter.add_argument(), and python.rootplot.argparse.HelpFormatter.add_argument().
|
private |
Definition at line 507 of file argparse.py.
References argparse.HelpFormatter._action_max_length, argparse.HelpFormatter._current_indent, argparse.HelpFormatter._expand_help(), argparse.HelpFormatter._format_action(), argparse.HelpFormatter._format_action_invocation(), argparse.HelpFormatter._iter_indented_subactions(), argparse.HelpFormatter._join_parts(), argparse.HelpFormatter._max_help_position, argparse.HelpFormatter._split_lines(), Vispa.Main.RotatingIcon.RotatingIcon._width, Vispa.Gui.VispaWidget.TextField._width, argparse.HelpFormatter._width, and bookConverter.min.
|
private |
Definition at line 532 of file argparse.py.
References argparse.HelpFormatter._format_args(), argparse.HelpFormatter._metavar_formatter(), and join().
Referenced by argparse.HelpFormatter._format_action(), python.rootplot.argparse.HelpFormatter._format_action(), argparse.HelpFormatter._format_action_invocation(), argparse.HelpFormatter.add_argument(), and python.rootplot.argparse.HelpFormatter.add_argument().
|
private |
Definition at line 554 of file argparse.py.
References argparse.HelpFormatter._format_action_invocation(), argparse.HelpFormatter._format_args(), argparse.HelpFormatter._metavar_formatter(), and join().
|
private |
Definition at line 382 of file argparse.py.
References argparse.HelpFormatter._format_args(), and join().
Referenced by argparse.HelpFormatter._format_actions_usage(), argparse.HelpFormatter._format_usage(), and python.rootplot.argparse.HelpFormatter._format_usage().
|
private |
Definition at line 412 of file argparse.py.
References argparse.HelpFormatter._format_actions_usage(), argparse.HelpFormatter._format_args(), argparse._set, argparse._sorted, and join().
|
private |
Definition at line 571 of file argparse.py.
References argparse.HelpFormatter._metavar_formatter(), and join().
Referenced by argparse.HelpFormatter._format_action_invocation(), python.rootplot.argparse.HelpFormatter._format_action_invocation(), argparse.HelpFormatter._format_actions_usage(), python.rootplot.argparse.HelpFormatter._format_actions_usage(), and argparse.HelpFormatter._format_args().
|
private |
Definition at line 593 of file argparse.py.
References argparse.HelpFormatter._format_args(), argparse.HelpFormatter._metavar_formatter(), and join().
|
private |
Definition at line 478 of file argparse.py.
References argparse.HelpFormatter._current_indent, argparse.HelpFormatter._fill_text(), argparse.HelpFormatter._prog, Vispa.Main.RotatingIcon.RotatingIcon._width, Vispa.Gui.VispaWidget.TextField._width, argparse.HelpFormatter._width, and python.multivaluedict.dict.
Referenced by argparse.HelpFormatter._format_text(), argparse.HelpFormatter.add_text(), and python.rootplot.argparse.HelpFormatter.add_text().
|
private |
|
private |
Definition at line 290 of file argparse.py.
References argparse.HelpFormatter._current_indent, argparse.HelpFormatter._format_actions_usage(), argparse.HelpFormatter._prog, Vispa.Main.RotatingIcon.RotatingIcon._width, Vispa.Gui.VispaWidget.TextField._width, argparse.HelpFormatter._width, python.multivaluedict.dict, and join().
Referenced by argparse.HelpFormatter._format_usage(), argparse.HelpFormatter.add_usage(), and python.rootplot.argparse.HelpFormatter.add_usage().
|
private |
Definition at line 320 of file argparse.py.
References argparse.HelpFormatter._current_indent, argparse.HelpFormatter._format_actions_usage(), argparse.HelpFormatter._format_usage(), argparse.HelpFormatter._prog, Vispa.Main.RotatingIcon.RotatingIcon._width, Vispa.Gui.VispaWidget.TextField._width, argparse.HelpFormatter._width, python.multivaluedict.dict, and join().
|
private |
Definition at line 623 of file argparse.py.
Referenced by argparse.HelpFormatter._expand_help(), python.rootplot.argparse.HelpFormatter._expand_help(), and argparse.HelpFormatter._get_help_string().
|
private |
Definition at line 640 of file argparse.py.
References argparse.HelpFormatter._get_help_string().
|
private |
Definition at line 186 of file argparse.py.
References argparse.HelpFormatter._current_indent, argparse.HelpFormatter._indent_increment, PGeometricDet::Item._level, TrackerGeometryCompare._level, MuonGeometryArrange._level, and argparse.HelpFormatter._level.
Referenced by argparse.HelpFormatter._indent(), argparse.HelpFormatter._iter_indented_subactions(), python.rootplot.argparse.HelpFormatter._iter_indented_subactions(), argparse.HelpFormatter.start_section(), and python.rootplot.argparse.HelpFormatter.start_section().
|
private |
|
private |
Definition at line 603 of file argparse.py.
References argparse.HelpFormatter._dedent(), and argparse.HelpFormatter._indent().
Referenced by argparse.HelpFormatter._format_action(), python.rootplot.argparse.HelpFormatter._format_action(), argparse.HelpFormatter._iter_indented_subactions(), argparse.HelpFormatter.add_argument(), and python.rootplot.argparse.HelpFormatter.add_argument().
|
private |
Definition at line 620 of file argparse.py.
References argparse.HelpFormatter._dedent(), argparse.HelpFormatter._indent(), and argparse.HelpFormatter._iter_indented_subactions().
|
private |
Definition at line 285 of file argparse.py.
References join().
Referenced by argparse.HelpFormatter._format_action(), python.rootplot.argparse.HelpFormatter._format_action(), and argparse.HelpFormatter._join_parts().
|
private |
Definition at line 315 of file argparse.py.
References argparse.HelpFormatter._join_parts(), and join().
|
private |
Definition at line 555 of file argparse.py.
References cmsPerfStripChart.format, and join().
Referenced by argparse.HelpFormatter._format_action_invocation(), python.rootplot.argparse.HelpFormatter._format_action_invocation(), argparse.HelpFormatter._format_args(), python.rootplot.argparse.HelpFormatter._format_args(), and argparse.HelpFormatter._metavar_formatter().
|
private |
Definition at line 577 of file argparse.py.
References argparse.HelpFormatter._metavar_formatter(), cmsPerfStripChart.format, and join().
|
private |
Definition at line 614 of file argparse.py.
Referenced by argparse.HelpFormatter._format_action(), python.rootplot.argparse.HelpFormatter._format_action(), and argparse.HelpFormatter._split_lines().
|
private |
def argparse.HelpFormatter.add_argument | ( | self, | |
action | |||
) |
Definition at line 253 of file argparse.py.
References argparse.HelpFormatter._action_max_length, argparse.HelpFormatter._add_item(), argparse.HelpFormatter._current_indent, argparse.HelpFormatter._format_action(), argparse.HelpFormatter._format_action_invocation(), argparse.HelpFormatter._iter_indented_subactions(), and max().
Referenced by argparse.ArgumentParser.__init__(), argparse.HelpFormatter.add_argument(), argparse.HelpFormatter.add_arguments(), and python.rootplot.argparse.HelpFormatter.add_arguments().
def argparse.HelpFormatter.add_argument | ( | self, | |
action | |||
) |
Definition at line 283 of file argparse.py.
References argparse.HelpFormatter._action_max_length, argparse.HelpFormatter._add_item(), argparse.HelpFormatter._current_indent, argparse.HelpFormatter._format_action(), argparse.HelpFormatter._format_action_invocation(), argparse.HelpFormatter._iter_indented_subactions(), argparse.HelpFormatter.add_argument(), and max().
def argparse.HelpFormatter.add_arguments | ( | self, | |
actions | |||
) |
Definition at line 271 of file argparse.py.
References argparse.HelpFormatter.add_argument().
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(), and argparse.HelpFormatter.add_arguments().
def argparse.HelpFormatter.add_text | ( | self, | |
text | |||
) |
Definition at line 244 of file argparse.py.
References argparse.HelpFormatter._add_item(), and argparse.HelpFormatter._format_text().
Referenced by argparse.HelpFormatter.add_text().
def argparse.HelpFormatter.add_text | ( | self, | |
text | |||
) |
Definition at line 274 of file argparse.py.
References argparse.HelpFormatter._add_item(), argparse.HelpFormatter._format_text(), and argparse.HelpFormatter.add_text().
def argparse.HelpFormatter.add_usage | ( | self, | |
usage, | |||
actions, | |||
groups, | |||
prefix = None |
|||
) |
Definition at line 248 of file argparse.py.
References argparse.HelpFormatter._add_item(), and argparse.HelpFormatter._format_usage().
Referenced by argparse.HelpFormatter.add_usage().
def argparse.HelpFormatter.add_usage | ( | self, | |
usage, | |||
actions, | |||
groups, | |||
prefix = None |
|||
) |
Definition at line 278 of file argparse.py.
References argparse.HelpFormatter._add_item(), argparse.HelpFormatter._format_usage(), and argparse.HelpFormatter.add_usage().
def argparse.HelpFormatter.end_section | ( | self | ) |
Definition at line 240 of file argparse.py.
References argparse.HelpFormatter._current_section, and argparse.HelpFormatter._dedent().
Referenced by argparse.HelpFormatter.end_section().
def argparse.HelpFormatter.end_section | ( | self | ) |
Definition at line 270 of file argparse.py.
References argparse.HelpFormatter._current_section, argparse.HelpFormatter._dedent(), and argparse.HelpFormatter.end_section().
def argparse.HelpFormatter.format_help | ( | self | ) |
Definition at line 278 of file argparse.py.
Referenced by argparse.HelpFormatter.format_help(), argparse.ArgumentParser.print_help(), and python.rootplot.argparse.ArgumentParser.print_help().
def argparse.HelpFormatter.format_help | ( | self | ) |
def argparse.HelpFormatter.start_section | ( | self, | |
heading | |||
) |
Definition at line 234 of file argparse.py.
References argparse.HelpFormatter._add_item(), argparse.HelpFormatter._current_section, and argparse.HelpFormatter._indent().
Referenced by argparse.HelpFormatter.start_section().
def argparse.HelpFormatter.start_section | ( | self, | |
heading | |||
) |
Definition at line 264 of file argparse.py.
References argparse.HelpFormatter._add_item(), argparse.HelpFormatter._current_section, argparse.HelpFormatter._indent(), and argparse.HelpFormatter.start_section().
|
private |
|
private |
Definition at line 173 of file argparse.py.
Referenced by argparse.HelpFormatter.__init__(), argparse.HelpFormatter._dedent(), python.rootplot.argparse.HelpFormatter._dedent(), argparse.HelpFormatter._format_action(), python.rootplot.argparse.HelpFormatter._format_action(), argparse.HelpFormatter._format_text(), python.rootplot.argparse.HelpFormatter._format_text(), argparse.HelpFormatter._format_usage(), python.rootplot.argparse.HelpFormatter._format_usage(), argparse.HelpFormatter._indent(), python.rootplot.argparse.HelpFormatter._indent(), argparse.HelpFormatter.add_argument(), and python.rootplot.argparse.HelpFormatter.add_argument().
|
private |
Definition at line 178 of file argparse.py.
Referenced by argparse.HelpFormatter.__init__(), argparse.HelpFormatter.end_section(), python.rootplot.argparse.HelpFormatter.end_section(), argparse.HelpFormatter.start_section(), and python.rootplot.argparse.HelpFormatter.start_section().
|
private |
Definition at line 169 of file argparse.py.
Referenced by argparse.HelpFormatter.__init__(), argparse.HelpFormatter._dedent(), python.rootplot.argparse.HelpFormatter._dedent(), argparse.HelpFormatter._indent(), and python.rootplot.argparse.HelpFormatter._indent().
|
private |
Definition at line 174 of file argparse.py.
Referenced by argparse.HelpFormatter.__init__(), argparse.HelpFormatter._dedent(), python.rootplot.argparse.HelpFormatter._dedent(), argparse.HelpFormatter._indent(), and python.rootplot.argparse.HelpFormatter._indent().
|
private |
Definition at line 181 of file argparse.py.
Referenced by argparse.HelpFormatter.__init__().
|
private |
Definition at line 170 of file argparse.py.
Referenced by argparse.HelpFormatter.__init__(), argparse.HelpFormatter._format_action(), and python.rootplot.argparse.HelpFormatter._format_action().
|
private |
Definition at line 168 of file argparse.py.
Referenced by argparse.HelpFormatter.__init__(), argparse.HelpFormatter._expand_help(), python.rootplot.argparse.HelpFormatter._expand_help(), argparse.HelpFormatter._format_text(), python.rootplot.argparse.HelpFormatter._format_text(), argparse.HelpFormatter._format_usage(), and python.rootplot.argparse.HelpFormatter._format_usage().
|
private |
Definition at line 177 of file argparse.py.
Referenced by argparse.HelpFormatter.__init__().
|
private |
Definition at line 180 of file argparse.py.
Referenced by argparse.HelpFormatter.__init__().
|
private |
Definition at line 171 of file argparse.py.
Referenced by argparse.HelpFormatter.__init__(), argparse.HelpFormatter._format_action(), python.rootplot.argparse.HelpFormatter._format_action(), argparse.HelpFormatter._format_text(), python.rootplot.argparse.HelpFormatter._format_text(), argparse.HelpFormatter._format_usage(), and python.rootplot.argparse.HelpFormatter._format_usage().