MCPcopy Index your code
hub / github.com/python/cpython / _is_base_error

Method _is_base_error

Lib/asyncio/taskgroups.py:217–219  ·  view source on GitHub ↗
(self, exc: BaseException)

Source from the content-addressed store, hash-verified

215 # still considered special.
216
217 def _is_base_error(self, exc: BaseException) -> bool:
218 assert isinstance(exc, BaseException)
219 return isinstance(exc, (SystemExit, KeyboardInterrupt))
220
221 def _abort(self):
222 self._aborting = True

Callers 2

_aexitMethod · 0.95
_on_task_doneMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected