def readline(self, f):
while True:<EOL><INDENT>line = f.readline()<EOL>if len(line) == <NUM_LIT:0>:<EOL><INDENT>raise EOFError<EOL><DEDENT>line = line[:line.find('<STR_LIT:#>')]<EOL>line = line.strip()<EOL>if len(line) > <NUM_LIT:0>:<EOL><INDENT>return line<EOL><DEDENT><DEDENT>
A helper method that only reads uncommented lines