def tail(self, lines=<NUM_LIT:10>):
self.seek_end()<EOL>end_pos = self.file.tell()<EOL>for i in range(lines):<EOL><INDENT>if not self.seek_line():<EOL><INDENT>break<EOL><DEDENT><DEDENT>data = self.file.read(end_pos - self.file.tell() - <NUM_LIT:1>)<EOL>if data:<EOL><INDENT>return self.splitlines(data)<EOL><DEDENT>else:<EOL><INDENT>return []<EOL><DEDENT>
\
        Return the last lines of the file.