def sender_proc(rchannel, coro=None):
    # send messages to channel; 'deliver' is used with n=2, so
    # messages will not be sent until both receivers subscribe to
    # channel
    for x in range(10):
        msg = {'msg':x % 'message %s', 'sender':coro}
        n = yield rchannel.deliver(msg, n=2)
        print('delivered to: %s' % n)
    rchannel.send(None)
dataset/ETHPy150Open pgiri/asyncoro/examples/remote_channel_client.py/sender_proc/swapped operands of `%`