.. method:: BaseEventLoop.close()
- Close the event loop. The loop should not be running.
+ Close the event loop. The loop must not be running.
This clears the queues and shuts down the executor, but does not wait for
the executor to finish.
- The event loop must not be running.
-
This is idempotent and irreversible. No other methods should be called after
this one.
you absolutely, positively have to use a library that makes blocking
I/O calls.
-Table of content:
+Table of contents:
.. toctree::
:maxdepth: 3
.. seealso::
- The :mod:`asyncio` module was designed in the :PEP:`3156`. For a
+ The :mod:`asyncio` module was designed in :PEP:`3156`. For a
motivational primer on transports and protocols, see :PEP:`3153`.