Add __all__ to modules beginning with 'm' (#7330)

This commit is contained in:
Alex Waygood
2022-02-20 22:08:07 +00:00
committed by GitHub
parent 3e579b8b29
commit 07de01f29e
17 changed files with 193 additions and 33 deletions

View File

@@ -11,8 +11,12 @@ from .context import BaseContext
if sys.version_info >= (3, 8):
from .shared_memory import _SLT, ShareableList, SharedMemory
__all__ = ["BaseManager", "SyncManager", "BaseProxy", "Token", "SharedMemoryManager"]
_SharedMemory = SharedMemory
_ShareableList = ShareableList
else:
__all__ = ["BaseManager", "SyncManager", "BaseProxy", "Token"]
if sys.version_info >= (3, 9):
from types import GenericAlias