bpo-33649: Add high-level APIs cheat-sheet (GH-9319)

This commit is contained in:
Yury Selivanov 2018-09-14 15:11:24 -07:00 committed by GitHub
parent 6c7316439d
commit 7372c3bbef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 229 additions and 6 deletions

View file

@ -1,6 +1,8 @@
.. currentmodule:: asyncio
.. _asyncio-exceptions:
==========
Exceptions
==========
@ -10,7 +12,7 @@ Exceptions
The operation has exceeded the given deadline.
.. note::
.. important::
This exception is different from the builtin :exc:`TimeoutError`
exception.
@ -23,7 +25,7 @@ Exceptions
when asyncio Tasks are cancelled. In almost all situations the
exception must always be re-raised.
.. note::
.. important::
This exception is a subclass of :exc:`Exception`, so it can be
accidentally suppressed by ``try..except`` block::