'Returns the next line (if there is any, otherwise None) without
advancing the iterator.'

def peek(self):

    try:
        return self._lines[(self._line_index + 1)]
    except IndexError:
        return None
