'Yield or write into the frame buffer.'

def start_write(self, frame, node=None):

    if (frame.buffer is None):
        self.writeline('yield    ', node)
    else:
        self.writeline(('%s.append(' % frame.buffer), node)
