summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/__init__.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-01-25 21:22:18 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-01-25 21:22:18 (GMT)
commit128ee220e21bd4e7eb152396ff24d879f38c5d91 (patch)
treecc445b03c4b76fdec0bab5bb1374826356f7a951 /Lib/asyncio/__init__.py
parentce8d153b0245d324735cdb72e4267f1dd9e52e1e (diff)
downloadcpython-128ee220e21bd4e7eb152396ff24d879f38c5d91.zip
cpython-128ee220e21bd4e7eb152396ff24d879f38c5d91.tar.gz
cpython-128ee220e21bd4e7eb152396ff24d879f38c5d91.tar.bz2
asyncio: Don't export BaseEventLoop, BaseSelectorEventLoop nor
BaseProactorEventLoop Import them from submodules if you really need them.
Diffstat (limited to 'Lib/asyncio/__init__.py')
-rw-r--r--Lib/asyncio/__init__.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/Lib/asyncio/__init__.py b/Lib/asyncio/__init__.py
index 95235dc..eb22c38 100644
--- a/Lib/asyncio/__init__.py
+++ b/Lib/asyncio/__init__.py
@@ -18,14 +18,11 @@ if sys.platform == 'win32':
import _overlapped # Will also be exported.
# This relies on each of the submodules having an __all__ variable.
-from .base_events import *
from .events import *
from .futures import *
from .locks import *
-from .proactor_events import *
from .protocols import *
from .queues import *
-from .selector_events import *
from .streams import *
from .tasks import *
from .transports import *
@@ -36,14 +33,11 @@ else:
from .unix_events import * # pragma: no cover
-__all__ = (base_events.__all__ +
- events.__all__ +
+__all__ = (events.__all__ +
futures.__all__ +
locks.__all__ +
- proactor_events.__all__ +
protocols.__all__ +
queues.__all__ +
- selector_events.__all__ +
streams.__all__ +
tasks.__all__ +
transports.__all__)