Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update Doc/library/asyncio-eventloop.rst
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
  • Loading branch information
kumaraditya303 and picnixz authored Dec 27, 2024
commit a990e742cef97c1bd432f4c7caed18c68b675f7e
6 changes: 4 additions & 2 deletions Doc/library/asyncio-eventloop.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,10 @@ an event loop:
Raises a :exc:`RuntimeError` if there is no current event loop.

.. note::
asyncio policy system is deprecated and will be removed in Python 3.16
as such in future this function will always return the running event loop.

The :mod:`!asyncio` policy system is deprecated and will be removed
in Python 3.16; from there on, this function will always return the
running event loop.


.. function:: set_event_loop(loop)
Expand Down