def dispose_at_exit(exitable):
@atexit.register<EOL>def callback():<EOL><INDENT>exitable.__exit__(*sys.exc_info())<EOL><DEDENT>return exitable<EOL>
register `exitable.__exit__()` into `atexit` module.

return the `exitable` itself.