Indicates that the file ended properly.
This error descends from TypeError because the code used to raise TypeError (and this was the only way to know that the file had ended) so users might have
POSIX exception code
second exception filename
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.