def checkline(self, filename, lineno):
<EOL>line = linecache.getline(filename, lineno)<EOL>if not line:<EOL><INDENT>print('<STR_LIT>', file=self.stdout)<EOL>return <NUM_LIT:0><EOL><DEDENT>line = line.strip()<EOL>if (not line or (line[<NUM_LIT:0>] == '<STR_LIT:#>') or<EOL>(line[:<NUM_LIT:3>] == '<STR_LIT>') or line[:<NUM_LIT:3>] == "<STR_LIT>"):<EOL><INDENT>print('<STR_LIT>', file=self.stdout)<EOL>return <NUM_LIT:0><EOL><DEDENT>return lineno<EOL>
Check whether specified line seems to be executable.

        Return `lineno` if it is, 0 if not (e.g. a docstring, comment, blank
        line or EOF). Warning: testing is not comprehensive.