def __delattr__(self, attribute):
        """
        Deletes both key and sibling attribute.

        :param attribute: Attribute.
        :type attribute: object
        """

        dict.__delitem__(self, attribute)
        object.__delattr__(self, attribute)
def __delattr__ ( self , attribute ) : dict . __delitem__ ( self , attribute ) object . __delattr__ ( self , attribute )
Deletes both key and sibling attribute.

        :param attribute: Attribute.
        :type attribute: object