summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/asyncio')
-rw-r--r--Lib/asyncio/base_futures.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/Lib/asyncio/base_futures.py b/Lib/asyncio/base_futures.py
index 5182884..bd65bee 100644
--- a/Lib/asyncio/base_futures.py
+++ b/Lib/asyncio/base_futures.py
@@ -1,17 +1,13 @@
__all__ = ()
-import concurrent.futures._base
+import concurrent.futures
import reprlib
from . import format_helpers
-Error = concurrent.futures._base.Error
CancelledError = concurrent.futures.CancelledError
TimeoutError = concurrent.futures.TimeoutError
-
-
-class InvalidStateError(Error):
- """The operation is not allowed in this state."""
+InvalidStateError = concurrent.futures.InvalidStateError
# States for Future.