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 182 of file argparse.py.
def python.rootplot.argparse.HelpFormatter.__init__ | ( | self, | |
prog, | |||
indent_increment = 2 , |
|||
max_help_position = 24 , |
|||
width = None |
|||
) |
Definition at line 193 of file argparse.py.
|
private |
Definition at line 263 of file argparse.py.
Referenced by python.rootplot.argparse.HelpFormatter.add_argument(), python.rootplot.argparse.HelpFormatter.add_text(), python.rootplot.argparse.HelpFormatter.add_usage(), and python.rootplot.argparse.HelpFormatter.start_section().
|
private |
Definition at line 225 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 python.rootplot.argparse.HelpFormatter._iter_indented_subactions(), and python.rootplot.argparse.HelpFormatter.end_section().
|
private |
Definition at line 619 of file argparse.py.
References argparse.HelpFormatter._get_help_string(), python.rootplot.argparse.HelpFormatter._get_help_string(), argparse.ArgumentDefaultsHelpFormatter._get_help_string(), argparse.HelpFormatter._prog, python.rootplot.argparse.HelpFormatter._prog, python.multivaluedict.dict, join(), and list().
Referenced by python.rootplot.argparse.HelpFormatter._format_action().
|
private |
Definition at line 647 of file argparse.py.
References strip().
Referenced by python.rootplot.argparse.HelpFormatter._format_text().
|
private |
Definition at line 514 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(), argparse.RawTextHelpFormatter._split_lines(), Vispa.Main.RotatingIcon.RotatingIcon._width, TFitConstraintMGaus._width, Vispa.Gui.VispaWidget.TextField._width, argparse.HelpFormatter._width, python.rootplot.argparse.HelpFormatter._width, and min.
Referenced by python.rootplot.argparse.HelpFormatter._format_action(), and python.rootplot.argparse.HelpFormatter.add_argument().
|
private |
Definition at line 561 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 python.rootplot.argparse.HelpFormatter._format_action(), and python.rootplot.argparse.HelpFormatter.add_argument().
|
private |
Definition at line 417 of file argparse.py.
References argparse.HelpFormatter._format_args(), python.rootplot.argparse.HelpFormatter._format_args(), python.rootplot.argparse._set, python.rootplot.argparse._sorted, and join().
Referenced by python.rootplot.argparse.HelpFormatter._format_usage().
|
private |
Definition at line 600 of file argparse.py.
References argparse.HelpFormatter._metavar_formatter(), python.rootplot.argparse.HelpFormatter._metavar_formatter(), and join().
Referenced by python.rootplot.argparse.HelpFormatter._format_action_invocation(), and python.rootplot.argparse.HelpFormatter._format_actions_usage().
|
private |
Definition at line 507 of file argparse.py.
References argparse.HelpFormatter._current_indent, python.rootplot.argparse.HelpFormatter._current_indent, argparse.HelpFormatter._fill_text(), argparse.RawDescriptionHelpFormatter._fill_text(), python.rootplot.argparse.HelpFormatter._fill_text(), 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, and python.multivaluedict.dict.
Referenced by python.rootplot.argparse.HelpFormatter.add_text().
|
private |
Definition at line 325 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 python.rootplot.argparse.HelpFormatter.add_usage().
|
private |
Definition at line 652 of file argparse.py.
Referenced by python.rootplot.argparse.HelpFormatter._expand_help().
|
private |
Definition at line 221 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 python.rootplot.argparse.HelpFormatter._iter_indented_subactions(), and python.rootplot.argparse.HelpFormatter.start_section().
|
private |
Definition at line 632 of file argparse.py.
References argparse.HelpFormatter._dedent(), python.rootplot.argparse.HelpFormatter._dedent(), argparse.HelpFormatter._indent(), and python.rootplot.argparse.HelpFormatter._indent().
Referenced by python.rootplot.argparse.HelpFormatter._format_action(), and python.rootplot.argparse.HelpFormatter.add_argument().
|
private |
Definition at line 320 of file argparse.py.
References join().
Referenced by python.rootplot.argparse.HelpFormatter._format_action().
|
private |
Definition at line 584 of file argparse.py.
References cmsPerfStripChart.format, and join().
Referenced by python.rootplot.argparse.HelpFormatter._format_action_invocation(), and python.rootplot.argparse.HelpFormatter._format_args().
|
private |
Definition at line 643 of file argparse.py.
References strip().
Referenced by python.rootplot.argparse.HelpFormatter._format_action().
def python.rootplot.argparse.HelpFormatter.add_argument | ( | self, | |
action | |||
) |
Definition at line 288 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 max().
Referenced by python.rootplot.argparse.HelpFormatter.add_arguments().
def python.rootplot.argparse.HelpFormatter.add_arguments | ( | self, | |
actions | |||
) |
Definition at line 306 of file argparse.py.
References argparse.HelpFormatter.add_argument(), python.rootplot.argparse.HelpFormatter.add_argument(), and argparse._ActionsContainer.add_argument().
def python.rootplot.argparse.HelpFormatter.add_text | ( | self, | |
text | |||
) |
Definition at line 279 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 python.rootplot.argparse.HelpFormatter.add_usage | ( | self, | |
usage, | |||
actions, | |||
groups, | |||
prefix = None |
|||
) |
Definition at line 283 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 python.rootplot.argparse.HelpFormatter.end_section | ( | self | ) |
Definition at line 275 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 python.rootplot.argparse.HelpFormatter.format_help | ( | self | ) |
Definition at line 313 of file argparse.py.
Referenced by python.rootplot.argparse.ArgumentParser.print_help().
def python.rootplot.argparse.HelpFormatter.start_section | ( | self, | |
heading | |||
) |
Definition at line 269 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 210 of file argparse.py.
Referenced by python.rootplot.argparse.HelpFormatter._format_action(), and python.rootplot.argparse.HelpFormatter.add_argument().
|
private |
Definition at line 208 of file argparse.py.
Referenced by python.rootplot.argparse.HelpFormatter._dedent(), python.rootplot.argparse.HelpFormatter._format_action(), python.rootplot.argparse.HelpFormatter._format_text(), python.rootplot.argparse.HelpFormatter._format_usage(), python.rootplot.argparse.HelpFormatter._indent(), and python.rootplot.argparse.HelpFormatter.add_argument().
|
private |
Definition at line 213 of file argparse.py.
Referenced by python.rootplot.argparse.HelpFormatter.end_section(), and python.rootplot.argparse.HelpFormatter.start_section().
|
private |
Definition at line 204 of file argparse.py.
Referenced by python.rootplot.argparse.HelpFormatter._dedent(), and python.rootplot.argparse.HelpFormatter._indent().
|
private |
Definition at line 209 of file argparse.py.
Referenced by python.rootplot.argparse.HelpFormatter._dedent(), and python.rootplot.argparse.HelpFormatter._indent().
|
private |
Definition at line 216 of file argparse.py.
|
private |
Definition at line 205 of file argparse.py.
Referenced by python.rootplot.argparse.HelpFormatter._format_action().
|
private |
Definition at line 203 of file argparse.py.
Referenced by python.rootplot.argparse.HelpFormatter._expand_help(), python.rootplot.argparse.HelpFormatter._format_text(), and python.rootplot.argparse.HelpFormatter._format_usage().
|
private |
Definition at line 212 of file argparse.py.
|
private |
Definition at line 215 of file argparse.py.
|
private |
Definition at line 206 of file argparse.py.
Referenced by python.rootplot.argparse.HelpFormatter._format_action(), python.rootplot.argparse.HelpFormatter._format_text(), and python.rootplot.argparse.HelpFormatter._format_usage().