File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -19,11 +19,12 @@ Exceptions
19
19
20
20
The operation has been cancelled.
21
21
22
- This exception can be caught to perform custom operations on
22
+ This exception can be caught to perform custom operations
23
23
when asyncio Tasks are cancelled. In almost all situations the
24
24
exception must always be re-raised.
25
25
26
26
.. note ::
27
+
27
28
This exception is a subclass of :exc: `Exception `, so it can be
28
29
accidentally suppressed by ``try..except `` block::
29
30
@@ -54,7 +55,7 @@ Exceptions
54
55
55
56
.. exception :: SendfileNotAvailableError
56
57
57
- The "sendfile" syscall for is not available for the given
58
+ The "sendfile" syscall is not available for the given
58
59
socket or file type.
59
60
60
61
A subclass of :exc: `RuntimeError `.
Original file line number Diff line number Diff line change @@ -9,7 +9,8 @@ Platforms Support
9
9
=================
10
10
11
11
The :mod: `asyncio ` module has been designed to be portable,
12
- but some platforms have subtle differences and limitations.
12
+ but some platforms have subtle differences and limitations
13
+ due to the platforms' underlying architecture and capabilities.
13
14
14
15
15
16
All Platforms
@@ -26,7 +27,7 @@ All event loops on Windows do not support the following methods:
26
27
27
28
* :meth: `loop.create_unix_connection ` and
28
29
:meth: `loop.create_unix_server ` are not supported.
29
- The :data: `socket.AF_UNIX ` socket family is specific to UNIX/
30
+ The :data: `socket.AF_UNIX ` socket family is specific to UNIX.
30
31
31
32
* :meth: `loop.add_signal_handler ` and
32
33
:meth: `loop.remove_signal_handler ` are not supported.
@@ -66,8 +67,8 @@ Windows configuration.
66
67
Subprocess Support on Windows
67
68
-----------------------------
68
69
69
- :class: `SelectorEventLoop ` on Windows does not support subproceses,
70
- so :class: `ProactorEventLoop ` should be used instead::
70
+ :class: `SelectorEventLoop ` on Windows does not support subproceses.
71
+ On Windows, :class: `ProactorEventLoop ` should be used instead::
71
72
72
73
import asyncio
73
74
You can’t perform that action at this time.
0 commit comments