def get_textfile(f):
    lines = []
    get_alt_textfile(f, lines.append)
    return lines
Get a text file as a list of lines, with trailing CRLF stripped.
dataset/ETHPy150Open babble/babble/include/jython/Lib/gopherlib.py/get_textfile