code: def revert(self):
          
          assert atexit.register == self._atexit__register, \
              "AtExitWrapper not installed."
          atexit.register = self.original['register']
docs: Restore the original :func:`atexit.register`.