Commit 09803ca
Adam (indoor47)
docs: update uvloop guide to avoid deprecated EventLoopPolicy
Fixes #1355. Replace the deprecated uvloop.EventLoopPolicy() with
the modern pattern using asyncio.get_event_loop_policy() and setting
the event loop class directly. This maintains compatibility with recent
uvloop versions while providing the same functionality.1 parent 173cb39 commit 09803ca
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
17 | 20 | | |
18 | 21 | | |
0 commit comments