web/impl/lxml_toolkit_object.py
def set_attribute(self, name, value):
        """ Default handler for those not explicitly defined """
        if value is True:
            self.widget.set(name, name)
        elif value is False:
            del self.widget.attrib[name]
        else:
            self.widget.set(name, str(value))
def set_attribute(self, name, value):
        if value is True:
            self.widget.set(name, name)
        elif value is False:
            del self.widget.attrib[name]
        else:
            self.widget.set(name, str(value))
def set_attribute ( self , name , value ) : if value is True : self . widget . set ( name , name ) elif value is False : del self . widget . attrib [ name ] else : self . widget . set ( name , str ( value ) )
Default handler for those not explicitly defined
Default handler for those not explicitly defined