File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,11 +19,12 @@ Exceptions
1919
2020 The operation has been cancelled.
2121
22- This exception can be caught to perform custom operations on
22+ This exception can be caught to perform custom operations
2323 when asyncio Tasks are cancelled. In almost all situations the
2424 exception must always be re-raised.
2525
2626 .. note ::
27+
2728 This exception is a subclass of :exc: `Exception `, so it can be
2829 accidentally suppressed by ``try..except `` block::
2930
@@ -54,7 +55,7 @@ Exceptions
5455
5556.. exception :: SendfileNotAvailableError
5657
57- The "sendfile" syscall for is not available for the given
58+ The "sendfile" syscall is not available for the given
5859 socket or file type.
5960
6061 A subclass of :exc: `RuntimeError `.
Original file line number Diff line number Diff line change @@ -9,7 +9,8 @@ Platforms Support
99=================
1010
1111The :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.
1314
1415
1516All Platforms
@@ -26,7 +27,7 @@ All event loops on Windows do not support the following methods:
2627
2728* :meth: `loop.create_unix_connection ` and
2829 :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.
3031
3132* :meth: `loop.add_signal_handler ` and
3233 :meth: `loop.remove_signal_handler ` are not supported.
@@ -66,8 +67,8 @@ Windows configuration.
6667Subprocess Support on Windows
6768-----------------------------
6869
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::
7172
7273 import asyncio
7374
You can’t perform that action at this time.
0 commit comments