mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-23 19:41:51 +08:00
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:
committed by
GitHub
parent
c55cf13d8e
commit
2ba90a65c0
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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):
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user