gs)
and returns the result. After this the finalizer is dead, and
calling it just returns None.

When the program exits any remaining finalizers for which the
atexit attribute is true will be run in reverse order of creation.
By default atexit is true.
rŠ