Skip to content

Commit

Permalink
start adding docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kumaraditya303 committed Dec 26, 2024
1 parent 5c814c8 commit e6cf4ae
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Doc/library/asyncio-policy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@
Policies
========

.. warning::

Policies are deprecated and will be removed in Python 3.16.
Users are encouraged to use the :func:`asyncio.run` function
or the :class:`asyncio.Runner` with *loop_factory* to use
the desired loop implementation.


An event loop policy is a global object
used to get and set the current :ref:`event loop <asyncio-event-loop>`,
as well as create new event loops.
Expand Down

0 comments on commit e6cf4ae

Please sign in to comment.