Package haizea :: Package cli :: Module optionparser :: Class Option
[hide private]
[frames] | no frames]

Class Option

source code


Instance Methods [hide private]
 
_check_required(self) source code
 
process(self, opt, value, values, parser) source code

Inherited from optparse.Option: __init__, __repr__, __str__, check_value, convert_value, get_opt_string, take_action, takes_value

Inherited from optparse.Option (private): _check_action, _check_callback, _check_choice, _check_const, _check_dest, _check_nargs, _check_opt_strings, _check_type, _set_attrs, _set_opt_strings

Class Variables [hide private]
  ATTRS = ['action', 'type', 'dest', 'default', 'nargs', 'const'...
  CHECK_METHODS = py_optparse.Option.CHECK_METHODS+ [_check_requ...

Inherited from optparse.Option: ACTIONS, ALWAYS_TYPED_ACTIONS, CONST_ACTIONS, STORE_ACTIONS, TYPED_ACTIONS, TYPES, TYPE_CHECKER

Method Details [hide private]

process(self, opt, value, values, parser)

source code 
Overrides: optparse.Option.process

Class Variable Details [hide private]

ATTRS

Value:
['action',
 'type',
 'dest',
 'default',
 'nargs',
 'const',
 'choices',
 'callback',
...

CHECK_METHODS

Value:
py_optparse.Option.CHECK_METHODS+ [_check_required]