sys.__stderr__
__stderr__
Contains the original value of sys.stderr at the start of the program. They are used during finalization, and could be useful to restore the actual files to known working file objects in case they have been overwritten with a broken object.