def _check_exception(self):
if self._saved_exception is not None:<EOL><INDENT>x = self._saved_exception<EOL>self._saved_exception = None<EOL>raise x<EOL><DEDENT>
if there's a saved exception, raise & clear it