

def run(self, parent, blocks):
    lines = blocks.pop(0).split('\n')
    if lines[1].startswith('='):
        level = 1
    else:
        level = 2
    h = util.etree.SubElement(parent, ('h%d' % level))
    h.text = lines[0].strip()
    if (len(level) > 2):
        blocks.insert(0, '\n'.join(lines[2:]))

dataset/ETHPy150Open darcyliu/storyboard/markdown/blockprocessors.py SetextHeaderProcessor.run/VarMisuse@89/99 `lines`->`level`