parameters: (self, key)
docstring: Deleting tag[key] deletes all 'key' attributes for the tag.
docstring_summary: Deleting tag[key] deletes all 'key' attributes for the tag.
docstring_tokens: Deleting tag [ key ] deletes all key attributes for the tag .
function: def __delitem__(self, key):
          "Deleting tag[key] deletes all 'key' attributes for the tag."
          for item in self.attrs:
              if item[0] == key:
                  self.attrs.remove(item)
                  #We don't break because bad HTML can define the same
                  #attribute multiple times.
              self._getAttrMap()
              if self.attrMap.has_key(key):
                  del self.attrMap[key]
function_tokens: def __delitem__ ( self , key ) : for item in self . attrs : if item [ 0 ] == key : self . attrs . remove ( item ) #We don't break because bad HTML can define the same #attribute multiple times. self . _getAttrMap ( ) if self . attrMap . has_key ( key ) : del self . attrMap [ key ]