def tail(file, lines=<NUM_LIT:10>, read_size=<NUM_LIT>):
return Tailer(file, read_size).tail(lines)<EOL>
Return the last lines of the file.

>>> import io
>>>
... with io.open('test_tail.txt', 'w+') as fw:
...     with io.open('test_tail.txt', 'rb') as fr:
...         _ = fw.write('\\r')
...         _ = fw.write('Line 1\\r\\n')
...         _ = fw.write('Line 2\\n')
...         _ = fw.write('Line 3\\r')
...         _ = fw.write('Line 4\\r\\n')
...         _ = fw.write('\\n')
...         _ = fw.write('\\r\\n')
...         _ = fw.write('\\r\\n')
...         fw.flush()
...         tail(fr, 6, 1)  # doctest: +ELLIPSIS
[...'Line 2', ...'Line 3', ...'Line 4', ...'', ...'', ...'']
>>> os.remove('test_tail.txt')

>>> import io
>>>
... with io.open('test_tail.txt', 'w+') as fw:
...     with io.open('test_tail.txt', 'rb') as fr:
...         _ = fw.write('Line 1')
...         fw.flush()
...         tail(fr, 6, 1)  # doctest: +ELLIPSIS
[...'Line 1']
>>> os.remove('test_tail.txt')