mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
Add __all__ to modules beginning with 'm' (#7330)
This commit is contained in:
@@ -4,6 +4,25 @@ import weakref
|
||||
from queue import Queue as Queue
|
||||
from typing import Any, Callable, Iterable, Mapping, Sequence
|
||||
|
||||
__all__ = [
|
||||
"Process",
|
||||
"current_process",
|
||||
"active_children",
|
||||
"freeze_support",
|
||||
"Lock",
|
||||
"RLock",
|
||||
"Semaphore",
|
||||
"BoundedSemaphore",
|
||||
"Condition",
|
||||
"Event",
|
||||
"Barrier",
|
||||
"Queue",
|
||||
"Manager",
|
||||
"Pipe",
|
||||
"Pool",
|
||||
"JoinableQueue",
|
||||
]
|
||||
|
||||
JoinableQueue = Queue
|
||||
Barrier = threading.Barrier
|
||||
BoundedSemaphore = threading.BoundedSemaphore
|
||||
|
||||
@@ -3,6 +3,8 @@ from queue import Queue
|
||||
from types import TracebackType
|
||||
from typing import Any, Union
|
||||
|
||||
__all__ = ["Client", "Listener", "Pipe"]
|
||||
|
||||
families: list[None]
|
||||
|
||||
_Address = Union[str, tuple[str, int]]
|
||||
|
||||
Reference in New Issue
Block a user