

def get_multiline(self, f, m):
    content = []
    next_line = ''
    while (not re.search('^}', next_line)):
        content.append(next_line)
        try:
            next_line = next(f)
        except StopIteration:
            next_line = None
            break
    content = ''.join(content)
    return (content, next_line)

dataset/ETHPy150Open espeed/bulbs/bulbs/groovy.py Scanner.get_multiline/original