

def _parse_ballot_lines(self, lines, f=None):
    ballot_count = 0
    for line in lines:
        ints = tuple(parse_integer_line(line))
        weight = ints[0]
        if (weight == 0):
            break
        ballot = (weight, tuple(ints[1:(- 1)]))
        ballot_count += 1
        new_line = to_internal_ballot(ballot)
        f.write((ints + '\n'))
    return ballot_count

dataset/ETHPy150Open cjerdonek/open-rcv/openrcv/parsing.py BLTParser._parse_ballot_lines/VarMisuse@91/113 `new_line`->`ints`