Package corebio :: Package utils :: Module deoptparse :: Class DeOption
[frames | no frames]

Class DeOption

Option --+
         |
        DeOption


Method Summary
    Inherited from Option
  __init__(self, *opts, **attrs)
  __str__(self)
  check_value(self, opt, value)
  convert_value(self, opt, value)
  get_opt_string(self)
  process(self, opt, value, values, parser)
  take_action(self, action, dest, opt, value, values, parser)
  takes_value(self)

Class Variable Summary
list CHECK_METHODS = [<function _check_action at 0x5c7570>, <...
NoneType choices = None                                                                  
dict TYPE_CHECKER = {'file_out': <function _check_file_out at...
tuple TYPES = ('string', 'int', 'long', 'float', 'complex', 'c...
    Inherited from Option
tuple ACTIONS = ('store', 'store_const', 'store_true', 'store_...
tuple ALWAYS_TYPED_ACTIONS = ('store', 'append')
list ATTRS = ['action', 'type', 'dest', 'default', 'nargs', '...
tuple STORE_ACTIONS = ('store', 'store_const', 'store_true', '...
tuple TYPED_ACTIONS = ('store', 'append', 'callback')

Class Variable Details

CHECK_METHODS

Type:
list
Value:
[<function _check_action at 0x5c7570>,
 <function _check_type at 0x5c75b0>,
 <function _new_check_choice at 0x5b51b0>,
 <function _check_dest at 0x5c7630>,
 <function _check_const at 0x5c7670>,
 <function _check_nargs at 0x5c76b0>,
 <function _check_callback at 0x5c76f0>]                               

choices

Type:
NoneType
Value:
None                                                                  

TYPE_CHECKER

Type:
dict
Value:
{'boolean': <function _check_boolean at 0x5764b0>,
 'choice': <function check_choice at 0x5c73f0>,
 'complex': <function check_builtin at 0x5b9330>,
 'dict': <function _check_dict at 0x5765b0>,
 'file_in': <function _check_file_in at 0x572d70>,
 'file_out': <function _check_file_out at 0x5763b0>,
 'float': <function check_builtin at 0x5b9330>,
 'int': <function check_builtin at 0x5b9330>,
...                                                                    

TYPES

Type:
tuple
Value:
('string',
 'int',
 'long',
 'float',
 'complex',
 'choice',
 'file_in',
 'file_out',
...                                                                    

Generated by Epydoc 2.1 on http://epydoc.sf.net