code: def delete_database(self, dbname):
          
          db = self._DATABASE_CLASS(self, dbname)
          if not db.exists():
              raise CloudantClientException(404, dbname)
          db.delete()
          if dbname in list(self.keys()):
              super(CouchDB, self).__delitem__(dbname)
docs: Removes the named database remotely and locally. The method will throw
          a CloudantClientException if the database does not exist.
  
          :param str dbname: Name of the database to delete.