Public Member Functions | |
def | __init__ (self, description, prefix_chars, argument_default, conflict_handler) |
def | add_argument (self, args, kwargs) |
def | add_argument_group (self, args, kwargs) |
def | add_mutually_exclusive_group (self, kwargs) |
def | register (self, registry_name, value, object) |
def | set_defaults (self, kwargs) |
Public Attributes | |
argument_default | |
conflict_handler | |
description | |
prefix_chars | |
Private Member Functions | |
def | _add_action (self, action) |
def | _add_container_actions (self, container) |
def | _check_conflict (self, action) |
def | _get_handler (self) |
def | _get_optional_kwargs (self, args, kwargs) |
def | _get_positional_kwargs (self, dest, kwargs) |
def | _handle_conflict_error (self, action, conflicting_actions) |
def | _handle_conflict_resolve (self, action, conflicting_actions) |
def | _pop_action_class (self, kwargs, default=None) |
def | _registry_get (self, registry_name, value, default=None) |
def | _remove_action (self, action) |
Private Attributes | |
_action_groups | |
_actions | |
_defaults | |
_has_negative_number_optionals | |
_mutually_exclusive_groups | |
_negative_number_matcher | |
_option_string_actions | |
_registries | |
Definition at line 1161 of file argparse.py.
def argparse._ActionsContainer.__init__ | ( | self, | |
description, | |||
prefix_chars, | |||
argument_default, | |||
conflict_handler | |||
) |
Definition at line 1167 of file argparse.py.
|
private |
Definition at line 1277 of file argparse.py.
References argparse._ActionsContainer._check_conflict(), python.rootplot.argparse._ActionsContainer._check_conflict(), argparse._ActionsContainer._has_negative_number_optionals, python.rootplot.argparse._ActionsContainer._has_negative_number_optionals, python.rootplot.argparse._ArgumentGroup._has_negative_number_optionals, argparse._ActionsContainer._option_string_actions, python.rootplot.argparse._ActionsContainer._option_string_actions, and python.rootplot.argparse._ArgumentGroup._option_string_actions.
Referenced by argparse._ActionsContainer._add_container_actions(), and argparse._ActionsContainer.add_argument().
|
private |
Definition at line 1301 of file argparse.py.
References crabWrapper._, argparse._ActionsContainer._action_groups, python.rootplot.argparse._ActionsContainer._action_groups, argparse._ActionsContainer._add_action(), argparse._ActionsContainer.add_argument_group(), python.rootplot.argparse._ActionsContainer.add_argument_group(), argparse._ActionsContainer.add_mutually_exclusive_group(), and python.rootplot.argparse._ActionsContainer.add_mutually_exclusive_group().
|
private |
Definition at line 1414 of file argparse.py.
References argparse._ActionsContainer._get_handler(), python.rootplot.argparse._ActionsContainer._get_handler(), argparse._ActionsContainer._option_string_actions, python.rootplot.argparse._ActionsContainer._option_string_actions, python.rootplot.argparse._ArgumentGroup._option_string_actions, and argparse._ActionsContainer.conflict_handler.
Referenced by argparse._ActionsContainer._add_action().
|
private |
Definition at line 1405 of file argparse.py.
References crabWrapper._, argparse._ActionsContainer.conflict_handler, and python.rootplot.argparse._ActionsContainer.conflict_handler.
Referenced by argparse._ActionsContainer._check_conflict().
|
private |
Definition at line 1357 of file argparse.py.
References crabWrapper._, argparse._set, cmsPerfStripChart.dict, argparse._ActionsContainer.prefix_chars, and python.rootplot.argparse._ActionsContainer.prefix_chars.
Referenced by argparse._ActionsContainer.add_argument().
|
private |
Definition at line 1341 of file argparse.py.
References crabWrapper._, and cmsPerfStripChart.dict.
Referenced by argparse._ActionsContainer.add_argument().
|
private |
Definition at line 1428 of file argparse.py.
References crabWrapper._, and join().
|
private |
Definition at line 1435 of file argparse.py.
Definition at line 1401 of file argparse.py.
References argparse._ActionsContainer._registry_get(), and python.rootplot.argparse._ActionsContainer._registry_get().
Referenced by argparse._ActionsContainer.add_argument(), and argparse.ArgumentParser.add_subparsers().
Definition at line 1219 of file argparse.py.
References argparse._ActionsContainer._registries, python.rootplot.argparse._ActionsContainer._registries, python.rootplot.argparse._ArgumentGroup._registries, and reco.get().
Referenced by argparse.ArgumentParser._get_value(), and argparse._ActionsContainer._pop_action_class().
|
private |
Definition at line 1298 of file argparse.py.
def argparse._ActionsContainer.add_argument | ( | self, | |
args, | |||
kwargs | |||
) |
add_argument(dest, ..., name=value, ...) add_argument(option_string, option_string, ..., name=value, ...)
Definition at line 1237 of file argparse.py.
References argparse._ActionsContainer._add_action(), python.rootplot.argparse._ActionsContainer._add_action(), python.rootplot.argparse._ArgumentGroup._add_action(), python.rootplot.argparse._MutuallyExclusiveGroup._add_action(), python.rootplot.argparse.ArgumentParser._add_action(), argparse._ActionsContainer._defaults, python.rootplot.argparse._ActionsContainer._defaults, python.rootplot.argparse._ArgumentGroup._defaults, argparse._ActionsContainer._get_optional_kwargs(), python.rootplot.argparse._ActionsContainer._get_optional_kwargs(), argparse._ActionsContainer._get_positional_kwargs(), python.rootplot.argparse._ActionsContainer._get_positional_kwargs(), argparse._ActionsContainer._pop_action_class(), python.rootplot.argparse._ActionsContainer._pop_action_class(), argparse._ActionsContainer.argument_default, python.rootplot.argparse._ActionsContainer.argument_default, argparse._ActionsContainer.prefix_chars, and python.rootplot.argparse._ActionsContainer.prefix_chars.
def argparse._ActionsContainer.add_argument_group | ( | self, | |
args, | |||
kwargs | |||
) |
Definition at line 1267 of file argparse.py.
Referenced by argparse._ActionsContainer._add_container_actions(), and argparse.ArgumentParser.add_subparsers().
def argparse._ActionsContainer.add_mutually_exclusive_group | ( | self, | |
kwargs | |||
) |
Definition at line 1272 of file argparse.py.
Referenced by argparse._ActionsContainer._add_container_actions().
def argparse._ActionsContainer.register | ( | self, | |
registry_name, | |||
value, | |||
object | |||
) |
Definition at line 1215 of file argparse.py.
def argparse._ActionsContainer.set_defaults | ( | self, | |
kwargs | |||
) |
Definition at line 1225 of file argparse.py.
References argparse._ActionsContainer._actions, python.rootplot.argparse._ActionsContainer._actions, and python.rootplot.argparse._ArgumentGroup._actions.
|
private |
Definition at line 1199 of file argparse.py.
Referenced by argparse._ActionsContainer._add_container_actions(), and argparse.ArgumentParser.format_help().
|
private |
Definition at line 1195 of file argparse.py.
Referenced by argparse.ArgumentParser._get_optional_actions(), argparse.ArgumentParser._get_positional_actions(), argparse.ArgumentParser._parse_known_args(), argparse.ArgumentParser.format_help(), argparse.ArgumentParser.format_usage(), argparse.ArgumentParser.parse_known_args(), and argparse._ActionsContainer.set_defaults().
|
private |
Definition at line 1203 of file argparse.py.
Referenced by argparse._ActionsContainer.add_argument(), and argparse.ArgumentParser.parse_known_args().
|
private |
Definition at line 1210 of file argparse.py.
Referenced by argparse._ActionsContainer._add_action(), and argparse.ArgumentParser._parse_optional().
|
private |
Definition at line 1200 of file argparse.py.
Referenced by argparse.ArgumentParser._parse_known_args(), argparse.ArgumentParser.add_subparsers(), argparse.ArgumentParser.format_help(), and argparse.ArgumentParser.format_usage().
|
private |
Definition at line 1206 of file argparse.py.
|
private |
Definition at line 1196 of file argparse.py.
Referenced by argparse._ActionsContainer._add_action(), argparse._ActionsContainer._check_conflict(), argparse.ArgumentParser._get_option_tuples(), argparse.ArgumentParser._parse_known_args(), and argparse.ArgumentParser._parse_optional().
|
private |
Definition at line 1176 of file argparse.py.
Referenced by argparse._ActionsContainer._registry_get().
argparse._ActionsContainer.argument_default |
Definition at line 1171 of file argparse.py.
Referenced by argparse._ActionsContainer.add_argument().
argparse._ActionsContainer.conflict_handler |
Definition at line 1173 of file argparse.py.
Referenced by argparse._ActionsContainer._check_conflict(), and argparse._ActionsContainer._get_handler().
argparse._ActionsContainer.description |
Definition at line 1170 of file argparse.py.
Referenced by argparse.ArgumentParser.format_help().
argparse._ActionsContainer.prefix_chars |