compat.optparse.make_option API [rev. unknown]

class Option():

Instance attributes: _short_opts : [string] _long_opts : [string] action : string type : string dest : string default : any nargs : int const : any choices : [string] callback : function callback_args : (any*) callback_kwargs : { string : any } help : string metavar : string

class attributes and properties:

ACTIONS: ('store', 'store_const', 'store_true', 'store_false', 'append', 'count', 'callback', 'help', 'versio...
ALWAYS_TYPED_ACTIONS: ('store', 'append')
ATTRS: ['action', 'type', 'dest', 'default', 'nargs', 'const', 'choices', 'callback', 'callback_args', 'cal...
CHECK_METHODS: [<function _check_action at 0x402b75dc>, <function _check_type at 0x402b7614>, <function _check_choi...
STORE_ACTIONS: ('store', 'store_const', 'store_true', 'store_false', 'append', 'count')
TYPED_ACTIONS: ('store', 'append', 'callback')
TYPES: ('string', 'int', 'long', 'float', 'complex', 'choice')
TYPE_CHECKER: {'int': <function check_builtin at 0x4029d87c>, 'float': <function check_builtin at 0x4029d87c>, 'co...

methods:

def __init__(self, *opts, **attrs):

*no docstring available*

def check_value(self, opt, value):

*no docstring available*

def convert_value(self, opt, value):

*no docstring available*

def get_opt_string(self):

*no docstring available*

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

*no docstring available*

def take_action(self, action, dest, opt, value, values, parser):

*no docstring available*

def takes_value(self):

*no docstring available*

def _repr(self):

*no docstring available*

def __str__(self):

*no docstring available*