

def reassemble(self):
    unprocessed = []
    for (delimiter, items) in reversed(self.stack):
        unprocessed.append(''.join([delimiter.before, delimiter.delimiter, ''.join((item.content for item in items))]))
    return ''.join(reversed(unprocessed))

dataset/ETHPy150Open Julian/Condent/condent.py Condenter.reassemble/original