Skip to content

Commit

Permalink
Update Doc/library/asyncio-eventloop.rst
Browse files Browse the repository at this point in the history
Co-authored-by: Bénédikt Tran <[email protected]>
  • Loading branch information
kumaraditya303 and picnixz authored Dec 27, 2024
1 parent 33a2d64 commit a990e74
Showing 1 changed file with 4 additions and 2 deletions.
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

0 comments on commit a990e74

Please sign in to comment.