Make multiprocessing pipes generic (#11137)

This commit is contained in:
Avasam authored and GitHub committed 2024-10-01 18:11:42 -07:00
1 parent 44aa63330b
commit bdb5b52d50
6 files changed
+72 -27

No files matched your search

+3 -2
View File
@@ -19,8 +19,9 @@ _global_shutdown: bool
class _ThreadWakeup:
_closed: bool
_reader: Connection
_writer: Connection
# Any: Unused send and recv methods
_reader: Connection[Any, Any]
_writer: Connection[Any, Any]
def close(self) -> None: ...
def wakeup(self) -> None: ...
def clear(self) -> None: ...