@@ -11,9 +11,9 @@ An event loop policy, a global per-process object, controls
11
11
management of the event loop. Each event loop has a default
12
12
policy, which can be changed and customized using the API.
13
13
14
- A policy defines the notion of context and manages a
14
+ A policy defines the notion of * context * and manages a
15
15
separate event loop per context. The default policy
16
- defines context to be the current thread.
16
+ defines * context * to be the current thread.
17
17
18
18
By using a custom event loop policy, the behavior of
19
19
:func: `get_event_loop `, :func: `set_event_loop `, and
@@ -94,8 +94,8 @@ asyncio ships with the following built-in policies:
94
94
The default asyncio policy. Uses :class: `SelectorEventLoop `
95
95
on both Unix and Windows platforms.
96
96
97
- There is no need to install the default policy manually; asyncio
98
- is configured to use it automatically.
97
+ There is no need to install the default policy manually. asyncio
98
+ is configured to use the default policy automatically.
99
99
100
100
101
101
.. class :: WindowsProactorEventLoopPolicy
@@ -125,7 +125,7 @@ by default) and :class:`FastChildWatcher`.
125
125
See also the :ref: `Subprocess and Threads <asyncio-subprocess-threads >`
126
126
section.
127
127
128
- The following two functions can be used to customize the watcher
128
+ The following two functions can be used to customize the child process watcher
129
129
implementation used by the asyncio event loop:
130
130
131
131
.. function :: get_child_watcher()
@@ -189,7 +189,7 @@ implementation used by the asyncio event loop:
189
189
handling a big number of processes (*O(n) * each time a
190
190
:py:data: `SIGCHLD ` is received).
191
191
192
- asyncio uses this implementation by default.
192
+ asyncio uses this safe implementation by default.
193
193
194
194
.. class :: FastChildWatcher
195
195
0 commit comments