

def iter_lines(self, f):
    '\n        Return an iterator over the lines of an input file.\n\n        Each iteration sets self.line and self.line_no.\n\n        '
    for (line_no, line) in enumerate(iter(f), start=1):
        self.line = line
        self.line_no = line_no
        (yield line)
    log.info(('parsed: %d lines' % line))

dataset/ETHPy150Open cjerdonek/open-rcv/openrcv/parsing.py Parser.iter_lines/VarMisuse@60/126 `line_no`->`line`