summaryrefslogtreecommitdiffstats
path: root/Doc/library/asyncio-exceptions.rst
diff options
context:
space:
mode:
authorCarol Willing <carolcode@willingconsulting.com>2018-09-13 23:14:41 (GMT)
committerYury Selivanov <yury@magic.io>2018-09-13 23:14:41 (GMT)
commita3c8ba723530ceb3328d184d3e0020534b522778 (patch)
treef663ea40280e380025065208ad9631932c053038 /Doc/library/asyncio-exceptions.rst
parent01e0afa994c2e840f85e2de103e72a2c0ddf1b1f (diff)
downloadcpython-a3c8ba723530ceb3328d184d3e0020534b522778.zip
cpython-a3c8ba723530ceb3328d184d3e0020534b522778.tar.gz
cpython-a3c8ba723530ceb3328d184d3e0020534b522778.tar.bz2
polish exceptions and platforms (GH-9272)
Diffstat (limited to 'Doc/library/asyncio-exceptions.rst')
-rw-r--r--Doc/library/asyncio-exceptions.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/asyncio-exceptions.rst b/Doc/library/asyncio-exceptions.rst
index bcd3599..7f3ed85 100644
--- a/Doc/library/asyncio-exceptions.rst
+++ b/Doc/library/asyncio-exceptions.rst
@@ -19,11 +19,12 @@ Exceptions
The operation has been cancelled.
- This exception can be caught to perform custom operations on
+ This exception can be caught to perform custom operations
when asyncio Tasks are cancelled. In almost all situations the
exception must always be re-raised.
.. note::
+
This exception is a subclass of :exc:`Exception`, so it can be
accidentally suppressed by ``try..except`` block::
@@ -54,7 +55,7 @@ Exceptions
.. exception:: SendfileNotAvailableError
- The "sendfile" syscall for is not available for the given
+ The "sendfile" syscall is not available for the given
socket or file type.
A subclass of :exc:`RuntimeError`.