mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-22 03:41:28 +08:00
Fix various __all__-related typos and omissions (#7378)
This commit is contained in:
@@ -62,6 +62,7 @@ if sys.version_info >= (3, 8):
|
||||
"get_context",
|
||||
"get_logger",
|
||||
"get_start_method",
|
||||
"parent_process",
|
||||
"log_to_stderr",
|
||||
"reducer",
|
||||
"set_executable",
|
||||
|
||||
@@ -11,6 +11,11 @@ from multiprocessing.sharedctypes import SynchronizedArray, SynchronizedBase
|
||||
from typing import Any, TypeVar, Union, overload
|
||||
from typing_extensions import Literal
|
||||
|
||||
if sys.version_info >= (3, 8):
|
||||
__all__ = ()
|
||||
else:
|
||||
__all__: list[str] = []
|
||||
|
||||
_LockLike = Union[synchronize.Lock, synchronize.RLock]
|
||||
_CT = TypeVar("_CT", bound=_CData)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user