<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def delete(self, key):
    '''Removes the object named by `key`.
       Writes to both ``cache_datastore`` and ``child_datastore``.
    '''
    self.cache_datastore.delete(key)
    self.child_datastore.delete(key)