diff options
Diffstat (limited to 'Lib/asyncio/exceptions.py')
-rw-r--r-- | Lib/asyncio/exceptions.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/asyncio/exceptions.py b/Lib/asyncio/exceptions.py index f07e448..c764c9f 100644 --- a/Lib/asyncio/exceptions.py +++ b/Lib/asyncio/exceptions.py @@ -10,8 +10,7 @@ class CancelledError(BaseException): """The Future or Task was cancelled.""" -class TimeoutError(Exception): - """The operation exceeded the given deadline.""" +TimeoutError = TimeoutError # make local alias for the standard exception class InvalidStateError(Exception): |