fixed docstring for `atexit.register`