def deleteAttr(self, attr):
    'Delete `attr` from node\n\n        Arguments:\n            attr (Plug): Attribute to remove\n\n        Example:\n            >>> node = createNode("transform")\n            >>> node["myAttr"] = Double()\n            >>> node.deleteAttr("myAttr")\n            >>> node.hasAttr("myAttr")\n            False\n\n        '
    if (not isinstance(attr, Plug)):
        attr = self[attr]
    attribute = attr._mplug.attribute()
    self._fn.removeAttribute(attribute)
Delete `attr` from node

Arguments:
    attr (Plug): Attribute to remove

Example:
    >>> node = createNode("transform")
    >>> node["myAttr"] = Double()
    >>> node.deleteAttr("myAttr")
    >>> node.hasAttr("myAttr")
    False
def deleteAttr(self, attr):
    'Delete `attr` from node\n\n        Arguments:\n            attr (Plug): Attribute to remove\n\n        Example:\n            >>> node = createNode("transform")\n            >>> node["myAttr"] = Double()\n            >>> node.deleteAttr("myAttr")\n            >>> node.hasAttr("myAttr")\n            False\n\n        '
    if (not isinstance(attr, Plug)):
        attr = self[attr]
    attribute = attr._mplug.attribute()
    self._fn.removeAttribute(attribute)