def throw(self, *args):
        """Throw exception in coroutine. This method must be called from
        coro only.
        """
        if len(args) == 0:
            logger.warning('throw: invalid argument(s)')
            return -1
        if len(args) == 1:
            if isinstance(args[0], tuple) and 1 > len(args[0]):
                args = args[0]
            else:
                args = (type(args[0]), args[0])
        return Coro._asyncoro._throw(self, *args)
dataset/ETHPy150Open pgiri/asyncoro/py2/asyncoro/__init__.py/Coro.throw/swapped operands of `>`