diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-01-25 22:02:14 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-01-25 22:02:14 +0100 |
commit | abd2a2f5bff3a64ba32bc5594ba86ed2ddf3b12d (patch) | |
tree | 900780afe65d8be9a50cb9b1f7dfe4693e21176d /asyncio/__init__.py | |
parent | dae82ccae6113867afd900befc3a2786c4bfbc54 (diff) | |
download | trollius-abd2a2f5bff3a64ba32bc5594ba86ed2ddf3b12d.tar.gz |
Don't export BaseEventLoop, BaseSelectorEventLoop nor BaseProactorEventLoop
Import them from submodules if you really need them.
Diffstat (limited to 'asyncio/__init__.py')
-rw-r--r-- | asyncio/__init__.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/asyncio/__init__.py b/asyncio/__init__.py index 95235dc..eb22c38 100644 --- a/asyncio/__init__.py +++ b/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__) |