def delete(self, doc):
        if doc['_id'] is None:
            raise ValueError('document ID cannot be None')
        _doc_resource(self.resource, doc['_id']).delete_json(rev=doc['_rev'])
Delete the given document from the database.
dataset/ETHPy150Open djc/couchdb-python/couchdb/client.py/Database.delete