mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
bpo-34622: Extract asyncio exceptions into a separate module (GH-9141)
This commit is contained in:
parent
7c7605ff11
commit
0baa72f4b2
18 changed files with 148 additions and 110 deletions
|
@ -1,15 +1,9 @@
|
|||
__all__ = ()
|
||||
|
||||
import concurrent.futures
|
||||
import reprlib
|
||||
|
||||
from . import format_helpers
|
||||
|
||||
CancelledError = concurrent.futures.CancelledError
|
||||
TimeoutError = concurrent.futures.TimeoutError
|
||||
InvalidStateError = concurrent.futures.InvalidStateError
|
||||
|
||||
|
||||
# States for Future.
|
||||
_PENDING = 'PENDING'
|
||||
_CANCELLED = 'CANCELLED'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue