

def delete_zone(self, zone):
    "\n        >>> driver = DummyDNSDriver('key', 'secret')\n        >>> zone = driver.create_zone(domain='apache.org', type='master',\n        ...                           ttl=100)\n        >>> driver.delete_zone(zone)\n        True\n        >>> driver.delete_zone(zone) #doctest: +IGNORE_EXCEPTION_DETAIL\n        Traceback (most recent call last):\n        ZoneDoesNotExistError:\n\n        @inherits: :class:`DNSDriver.delete_zone`\n        "
    zone.get_zone(zone_id=zone.id)
    del self._zones[zone.id]
    return True

dataset/ETHPy150Open apache/libcloud/libcloud/dns/drivers/dummy.py DummyDNSDriver.delete_zone/VarMisuse@14/154 `self`->`zone`