

def parse_file(self, f):
    '\n        Arguments:\n          f: a file-like object.\n\n        '
    with time_it(('parser: %s' % (self.name,))):
        lines = self.iter_lines(f)
        try:
            self.parse_lines(lines)
        except:
            raise ParsingError(('error while parsing line %d: %r' % (self.line_no, lines.line)))
    return self.get_parse_return_value()

dataset/ETHPy150Open cjerdonek/open-rcv/openrcv/parsing.py Parser.parse_file/VarMisuse@67/120 `self`->`lines`