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

Method new_event_loop

Lib/asyncio/events.py:682–686  ·  view source on GitHub ↗

Create and return a new event loop object according to this policy's rules. If there's need to set this loop as the event loop for the current context, set_event_loop must be called explicitly.

(self)

Source from the content-addressed store, hash-verified

680 raise NotImplementedError
681
682 def new_event_loop(self):
683 """Create and return a new event loop object according to this
684 policy's rules. If there's need to set this loop as the event loop for
685 the current context, set_event_loop must be called explicitly."""
686 raise NotImplementedError
687
688class _BaseDefaultEventLoopPolicy(_AbstractEventLoopPolicy):
689 """Default policy implementation for accessing the event loop.

Callers 3

__main__.pyFile · 0.45
new_event_loopFunction · 0.45
_lazy_initMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected