mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
bpo-33649: Add high-level APIs cheat-sheet (GH-9319)
This commit is contained in:
parent
6c7316439d
commit
7372c3bbef
9 changed files with 229 additions and 6 deletions
|
|
@ -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::
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue