Add multiprocessing.reduction submodule (#7361)

This commit is contained in:
Alex Waygood
2022-02-23 00:36:26 +00:00
committed by GitHub
parent 1610949c66
commit 070bbb4fb9
6 changed files with 93 additions and 3 deletions

View File

@@ -15,4 +15,5 @@ def add_extension(module: Hashable, name: Hashable, code: SupportsInt) -> None:
def remove_extension(module: Hashable, name: Hashable, code: int) -> None: ...
def clear_extension_cache() -> None: ...
dispatch_table: dict[type, Callable[[type], str | _Reduce[type]]] # undocumented
_DispatchTableType = dict[type, Callable[[type], str | _Reduce[type]]] # imported by multiprocessing.reduction
dispatch_table: _DispatchTableType # undocumented