Skip to content

Commit 921699b

Browse files
committed
readme: Mention uvloop.install()
1 parent 5220d32 commit 921699b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,14 @@ loop policy:
5454
5555
asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())
5656
57+
or, starting with uvloop 0.12:
58+
59+
.. code:: python
60+
61+
import uvloop
62+
63+
uvloop.install()
64+
5765
5866
Building From Source
5967
--------------------

0 commit comments

Comments
 (0)