def __init__(self,doc, *args, **kwargs):
        """Required keyword arguments:
                * ``value=``: The text content for the description (``str`` or ``unicode``)
        """
        if 'value' in kwargs:
            if kwargs['value'] is None:
                self.value = ""
            elif isstring(kwargs['value']):
                self.value = u(kwargs['value'])
            else:
                if sys.version < '3':
                    raise Exception("value= parameter must be unicode or str instance, got " + str(type(kwargs['value'])))
                else:
                    raise Exception("value= parameter must be str instance, got " + str(type(kwargs['value'])))
            del kwargs['value']
        else:
            raise Exception("Description expects value= parameter")
        super(Description,self).__init__(doc, *args, **kwargs)
def __init__ ( self , doc , * args , ** kwargs ) : if 'value' in kwargs : if kwargs [ 'value' ] is None : self . value = "" elif isstring ( kwargs [ 'value' ] ) : self . value = u ( kwargs [ 'value' ] ) else : if sys . version < '3' : raise Exception ( "value= parameter must be unicode or str instance, got " + str ( type ( kwargs [ 'value' ] ) ) ) else : raise Exception ( "value= parameter must be str instance, got " + str ( type ( kwargs [ 'value' ] ) ) ) del kwargs [ 'value' ] else : raise Exception ( "Description expects value= parameter" ) super ( Description , self ) . __init__ ( doc , * args , ** kwargs )
Required keyword arguments:
                * ``value=``: The text content for the description (``str`` or ``unicode``)