def update_output(self, data):
        if isinstance(data, basestring):
            self.outq.append(data)
        
        elif isinstance(data, list):
            self.outq += data
Helpfully inserts data into the player's output queue.
dataset/ETHPy150Open shinymud/ShinyMUD/src/shinymud/models/player.py/Player.update_output