BigBrotherBot v1.8.0
System Development Information for the BigBrotherBot project.

b3::lib::argparse::_ActionsContainer Class Reference

Inheritance diagram for b3::lib::argparse::_ActionsContainer:
b3::lib::argparse::_ArgumentGroup b3::lib::argparse::ArgumentParser b3::lib::argparse::_MutuallyExclusiveGroup

List of all members.

Public Member Functions

def __init__
def register
def set_defaults
def get_default
def add_argument
def add_argument_group
def add_mutually_exclusive_group

Public Attributes

 description
 argument_default
 prefix_chars
 conflict_handler

Private Member Functions

def _registry_get
def _add_action
def _remove_action
def _add_container_actions
def _get_positional_kwargs
def _get_optional_kwargs
def _pop_action_class
def _get_handler
def _check_conflict
def _handle_conflict_error
def _handle_conflict_resolve

Private Attributes

 _registries
 _actions
 _option_string_actions
 _action_groups
 _mutually_exclusive_groups
 _defaults
 _negative_number_matcher
 _has_negative_number_optionals

Constructor & Destructor Documentation

def b3::lib::argparse::_ActionsContainer::__init__ (   self,
  description,
  prefix_chars,
  argument_default,
  conflict_handler 
)

Member Function Documentation

def b3::lib::argparse::_ActionsContainer::_add_action (   self,
  action 
) [private]
def b3::lib::argparse::_ActionsContainer::_add_container_actions (   self,
  container 
) [private]
def b3::lib::argparse::_ActionsContainer::_check_conflict (   self,
  action 
) [private]
def b3::lib::argparse::_ActionsContainer::_get_handler (   self) [private]
def b3::lib::argparse::_ActionsContainer::_get_optional_kwargs (   self,
  args,
  kwargs 
) [private]
def b3::lib::argparse::_ActionsContainer::_get_positional_kwargs (   self,
  dest,
  kwargs 
) [private]
def b3::lib::argparse::_ActionsContainer::_handle_conflict_error (   self,
  action,
  conflicting_actions 
) [private]
def b3::lib::argparse::_ActionsContainer::_handle_conflict_resolve (   self,
  action,
  conflicting_actions 
) [private]
def b3::lib::argparse::_ActionsContainer::_pop_action_class (   self,
  kwargs,
  default = None 
) [private]
def b3::lib::argparse::_ActionsContainer::_registry_get (   self,
  registry_name,
  value,
  default = None 
) [private]
def b3::lib::argparse::_ActionsContainer::_remove_action (   self,
  action 
) [private]
def b3::lib::argparse::_ActionsContainer::add_argument (   self,
  args,
  kwargs 
)
add_argument(dest, ..., name=value, ...)
add_argument(option_string, option_string, ..., name=value, ...)
def b3::lib::argparse::_ActionsContainer::add_argument_group (   self,
  args,
  kwargs 
)
def b3::lib::argparse::_ActionsContainer::add_mutually_exclusive_group (   self,
  kwargs 
)
def b3::lib::argparse::_ActionsContainer::get_default (   self,
  dest 
)
def b3::lib::argparse::_ActionsContainer::register (   self,
  registry_name,
  value,
  object 
)
def b3::lib::argparse::_ActionsContainer::set_defaults (   self,
  kwargs 
)

Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Properties