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

Method _check_default_executor

Lib/asyncio/base_events.py:557–559  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

555 raise RuntimeError('Event loop is closed')
556
557 def _check_default_executor(self):
558 if self._executor_shutdown_called:
559 raise RuntimeError('Executor shutdown has been called')
560
561 def _asyncgen_finalizer_hook(self, agen):
562 self._asyncgens.discard(agen)

Callers 1

run_in_executorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected