diff --git a/stdlib/3.4/asyncio/__init__.pyi b/stdlib/3.4/asyncio/__init__.pyi index 0a85a3b6f..171ab0115 100644 --- a/stdlib/3.4/asyncio/__init__.pyi +++ b/stdlib/3.4/asyncio/__init__.pyi @@ -59,12 +59,4 @@ from asyncio.queues import ( QueueEmpty as QueueEmpty, ) -__all__ = (coroutines.__all__ + - protocols.__all__ + - streams.__all__ + - subprocess.__all__ + - transports.__all__ + - futures.__all__ + - tasks.__all__ + - events.__all__ + - queues.__all__) +__all__ = ... # type: str diff --git a/stdlib/3.4/asyncio/coroutines.pyi b/stdlib/3.4/asyncio/coroutines.pyi index 4f1eb5de7..455e36d25 100644 --- a/stdlib/3.4/asyncio/coroutines.pyi +++ b/stdlib/3.4/asyncio/coroutines.pyi @@ -1,7 +1,6 @@ from typing import Callable, Any, TypeVar -__all__ = ['coroutine', - 'iscoroutinefunction', 'iscoroutine'] +__all__ = ... # type: str _T = TypeVar('_T') diff --git a/stdlib/3.4/asyncio/events.pyi b/stdlib/3.4/asyncio/events.pyi index c80506cce..beaa63747 100644 --- a/stdlib/3.4/asyncio/events.pyi +++ b/stdlib/3.4/asyncio/events.pyi @@ -3,15 +3,7 @@ from abc import ABCMeta, abstractmethod from asyncio.futures import Future from asyncio.coroutines import coroutine -# __all__ = ['AbstractServer', -# 'TimerHandle', -# 'get_event_loop_policy', 'set_event_loop_policy', -# 'set_event_loop', 'new_event_loop', -# 'get_child_watcher', 'set_child_watcher', -# ] - - -__all__ = ['AbstractEventLoopPolicy', 'AbstractEventLoop', 'Handle', 'get_event_loop'] +__all__ = ... # type: str _T = TypeVar('_T') diff --git a/stdlib/3.4/asyncio/futures.pyi b/stdlib/3.4/asyncio/futures.pyi index 81f2fb5e6..318f9c1db 100644 --- a/stdlib/3.4/asyncio/futures.pyi +++ b/stdlib/3.4/asyncio/futures.pyi @@ -1,10 +1,7 @@ from typing import Any, Union, Callable, TypeVar, List, Generic, Iterable, Generator from .events import AbstractEventLoop -# __all__ = ['CancelledError', 'TimeoutError', -# 'InvalidStateError', -# 'wrap_future', -# ] -__all__ = ['Future'] + +__all__ = ... # type: str _T = TypeVar('_T') diff --git a/stdlib/3.4/asyncio/protocols.pyi b/stdlib/3.4/asyncio/protocols.pyi index 3c47eff81..8cae80512 100644 --- a/stdlib/3.4/asyncio/protocols.pyi +++ b/stdlib/3.4/asyncio/protocols.pyi @@ -1,7 +1,6 @@ from typing import AnyStr -__all__ = ['BaseProtocol', 'Protocol', 'DatagramProtocol', - 'SubprocessProtocol'] +__all__ = ... # type: str from asyncio import transports diff --git a/stdlib/3.4/asyncio/queues.pyi b/stdlib/3.4/asyncio/queues.pyi index f945ab022..edbb18318 100644 --- a/stdlib/3.4/asyncio/queues.pyi +++ b/stdlib/3.4/asyncio/queues.pyi @@ -1,7 +1,6 @@ from typing import TypeVar, Generic -__all__ = ['Queue', 'PriorityQueue', 'LifoQueue', 'JoinableQueue', - 'QueueFull', 'QueueEmpty'] +__all__ = ... # type: str from asyncio.events import AbstractEventLoop from .coroutines import coroutine diff --git a/stdlib/3.4/asyncio/streams.pyi b/stdlib/3.4/asyncio/streams.pyi index 39f3b0c5e..a30a9501d 100644 --- a/stdlib/3.4/asyncio/streams.pyi +++ b/stdlib/3.4/asyncio/streams.pyi @@ -8,10 +8,7 @@ from . import events from . import protocols from . import transports -__all__ = ['StreamReader', 'StreamWriter', 'StreamReaderProtocol', - 'open_connection', 'start_server', - 'IncompleteReadError', - 'LimitOverrunError'] +__all__ = ... # type: str class IncompleteReadError(EOFError): def __init__(self, partial: str, expected: int) -> None: ... diff --git a/stdlib/3.4/asyncio/subprocess.pyi b/stdlib/3.4/asyncio/subprocess.pyi index a6e3b6e8b..5d6ffce84 100644 --- a/stdlib/3.4/asyncio/subprocess.pyi +++ b/stdlib/3.4/asyncio/subprocess.pyi @@ -1,6 +1,6 @@ from typing import Any, AnyStr, Tuple, Union -__all__ = ['create_subprocess_exec', 'create_subprocess_shell'] +__all__ = ... # type: str from asyncio import events from asyncio import protocols diff --git a/stdlib/3.4/asyncio/tasks.pyi b/stdlib/3.4/asyncio/tasks.pyi index 14ca97b5d..b4649d398 100644 --- a/stdlib/3.4/asyncio/tasks.pyi +++ b/stdlib/3.4/asyncio/tasks.pyi @@ -1,8 +1,6 @@ from typing import Any, Iterable, TypeVar, Set, Dict, List, TextIO, Union, Tuple, Generic, Callable, Generator -__all__ = ['Task', 'sleep', - 'FIRST_COMPLETED', 'FIRST_EXCEPTION', 'ALL_COMPLETED', - 'wait', 'wait_for'] +__all__ = ... # type: str from .events import AbstractEventLoop from .futures import Future diff --git a/stdlib/3.4/asyncio/transports.pyi b/stdlib/3.4/asyncio/transports.pyi index e12693079..b2f219132 100644 --- a/stdlib/3.4/asyncio/transports.pyi +++ b/stdlib/3.4/asyncio/transports.pyi @@ -1,8 +1,6 @@ from typing import Dict, Any, TypeVar, Mapping, List -__all__ = ['BaseTransport', 'ReadTransport', 'WriteTransport', - 'Transport', 'DatagramTransport', 'SubprocessTransport', - ] +__all__ = ... # type: str class BaseTransport: def __init__(self, extra: Mapping[Any, Any] = ...) -> None: ...