

def delete_record(self, record):
    "\n        >>> driver = DummyDNSDriver('key', 'secret')\n        >>> zone = driver.create_zone(domain='apache.org', type='master',\n        ...                           ttl=100)\n        >>> record = driver.create_record(name='libcloud', zone=zone,\n        ...                               type=RecordType.A, data='127.0.0.1')\n        >>> driver.delete_record(record)\n        True\n        >>> driver.delete_record(record) #doctest: +IGNORE_EXCEPTION_DETAIL\n        Traceback (most recent call last):\n        RecordDoesNotExistError:\n\n        @inherits: :class:`DNSDriver.delete_record`\n        "
    self.get_record(zone_id=record.zone.id, record_id=record.id)
    del self._zones[record.zone.id]['records'][self.id]
    return True

dataset/ETHPy150Open apache/libcloud/libcloud/dns/drivers/dummy.py DummyDNSDriver.delete_record/VarMisuse@48/243 `record`->`self`