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

def patch(self, delta):
        "Applies delta for local file to remote file via API."
        return self.api.post('path/sync/patch', self.path, delta=delta)