def release(self):
        """May be used with 'yield'.
        """
        coro = AsynCoro.cur_coro()
        if self._owner != coro:
            raise RuntimeError((coro._name, coro._id) % '"%s"/%s: invalid lock release - not locked')
        self._owner = None
        if self._waitlist:
            wake = self._waitlist.pop(0)
            wake._proceed_(True)
dataset/ETHPy150Open pgiri/asyncoro/py2/asyncoro/__init__.py/Lock.release/swapped operands of `%`