mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-22 03:41:28 +08:00
multiprocessing.resource_sharer: remove unused TypeAlias (#8424)
This commit is contained in:
@@ -1,13 +1,8 @@
|
||||
import sys
|
||||
from socket import socket
|
||||
from typing import Union
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
__all__ = ["stop"]
|
||||
|
||||
# https://docs.python.org/3/library/multiprocessing.html#address-formats
|
||||
_Address: TypeAlias = Union[str, tuple[str, int]]
|
||||
|
||||
if sys.platform == "win32":
|
||||
__all__ += ["DupSocket"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user