(self, name, get_default=True)
return value
Get value of option; choose whether to get default or None (unspecified) or '' (empty).
Get value of option; choose whether to get default or None (unspecified) or '' (empty).
Get value of option ; choose whether to get default or None ( unspecified ) or ( empty ) .
def get(self, name, get_default=True):
        """Get value of option; choose whether to get default or None (unspecified) or '' (empty)."""
        try:
            value = self._options[name]
            if get_default and (value is None or value == u''):
                raise KeyError
        except KeyError:
            if get_default:
                try:
                    value = ARGUMENTS[name][u'default']
                except KeyError:
                    if name in range(NUM_POSITIONAL):
                        return u''
            else:
                value = None
        return value
def get ( self , name , get_default = True ) : try : value = self . _options [ name ] if get_default and ( value is None or value == u'' ) : raise KeyError except KeyError : if get_default : try : value = ARGUMENTS [ name ] [ u'default' ] except KeyError : if name in range ( NUM_POSITIONAL ) : return u'' else : value = None return value