File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 7
7
Policies
8
8
========
9
9
10
- An event loop policy is a global per-process object that controls
11
- the management of the event loop. Each event loop has a default
12
- policy, which can be changed and customized using the policy API.
10
+ An event loop policy is a global object
11
+ used to get and set the current :ref: `event loop <asyncio-event-loop >`,
12
+ as well as create new event loops.
13
+ The default policy can be :ref: `replaced <asyncio-policy-get-set >` with
14
+ :ref: `built-in alternatives <asyncio-policy-builtin >`
15
+ to use different event loop implementations,
16
+ or substituted by a :ref: `custom policy <asyncio-custom-policies >`
17
+ that can override these behaviors.
13
18
14
19
A policy defines the notion of *context * and manages a
15
20
separate event loop per context. The default policy
You can’t perform that action at this time.
0 commit comments