'Remove a L{CooperativeTask} from this L{Cooperator}.'

def _removeTask(self, task):

    self._tasks.remove(task)
    if ((not self._tasks) and self._delayedCall):
        self._delayedCall.cancel()
        self._delayedCall = None
