def strip_end(lines):
    """
    Strip blank strings from the end of list of strings.
    """
    for i in range(len(lines)-1,-1,-1):
        if not lines[i]:
            del lines[i]
        else:
            break
dataset/ETHPy150Open FooBarWidget/mizuho/asciidoc/tests/testasciidoc.py/strip_end/original