def _remove(self, coro):
        """Internal use only.
        """
        self._lock.acquire()
        try:
            self._scheduled.remove(coro._id)
        except __HOLE__:
            ret = -1
        else:
            self._coros.pop(coro._id, None)
            ret = 0
        self._lock.release()
        return ret
dataset/ETHPy150Open pgiri/asyncoro/py2/asyncoro/__init__.py/AsynCoro._remove