From abd2a2f5bff3a64ba32bc5594ba86ed2ddf3b12d Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Sat, 25 Jan 2014 22:02:14 +0100 Subject: Don't export BaseEventLoop, BaseSelectorEventLoop nor BaseProactorEventLoop Import them from submodules if you really need them. --- asyncio/__init__.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'asyncio/__init__.py') 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__) -- cgit v1.2.1