Fix various __all__-related typos and omissions (#7378)

This commit is contained in:
Alex Waygood
2022-02-25 13:10:00 +00:00
committed by GitHub
parent f4b43daba0
commit d2ddda00cf
8 changed files with 14 additions and 7 deletions

View File

@@ -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)