Remove __all__ = ... from stubs (#2161)

The presence of a __all__ causes everything to not get picked up by
import *, which among other things breaks the new six.moves stubs.
This commit is contained in:
Michael J. Sullivan
2018-05-24 19:00:07 -07:00
committed by GitHub
parent c55cf13d8e
commit 2ba90a65c0
10 changed files with 0 additions and 12 deletions

View File

@@ -1,6 +1,5 @@
from typing import Any, IO, Sequence, Tuple, Union, List, Dict
__all__ = ... # type: List[str]
DEFAULTSECT = ... # type: str
MAX_INTERPOLATION_DEPTH = ... # type: int

View File

@@ -12,8 +12,6 @@ from threading import Lock, RLock, Semaphore, BoundedSemaphore
from threading import Event
from Queue import Queue
__all__ = ... # type: List[str]
class DummyProcess(threading.Thread):
_children = ... # type: weakref.WeakKeyDictionary

View File

@@ -1,7 +1,6 @@
from Queue import Queue
from typing import Any, List, Optional, Tuple, Type
__all__ = ... # type: List[str]
families = ... # type: List[None]
class Connection(object):

View File

@@ -2,7 +2,6 @@ from typing import Any, Iterable, List, Optional, Union, TextIO, Tuple, TypeVar
_T = TypeVar('_T')
__all__ = ... # type: List[str]
class Popen3:
sts = ... # type: int

View File

@@ -2,7 +2,6 @@
from typing import Any, Callable, Dict, Generator, Iterator, List, Tuple, Union, Iterable
__all__ = ... # type: List[str]
__author__ = ... # type: str
__credits__ = ... # type: str