code: def _check_exception(self):
          
          if self._saved_exception is not None:
              x = self._saved_exception
              self._saved_exception = None
              raise x
docs: if there's a saved exception, raise & clear it