We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
multiprocessing.reduction
recvfds
recv_handle
1 parent 26d0935 commit a9f6632Copy full SHA for a9f6632
stdlib/multiprocessing/reduction.pyi
@@ -1,7 +1,9 @@
1
import pickle
2
import sys
3
+from _typeshed import HasFileno
4
from abc import ABCMeta
5
from copyreg import _DispatchTableType
6
+from socket import socket
7
from typing import Any
8
from typing_extensions import Literal
9
@@ -43,9 +45,9 @@ else:
43
45
else:
44
46
ACKNOWLEDGE: Literal[False]
47
- def recvfds(sock, size): ...
48
+ def recvfds(sock: socket, size: int) -> list[int]: ...
49
def send_handle(conn, handle, destination_pid) -> None: ...
- def recv_handle(conn) -> None: ...
50
+ def recv_handle(conn: HasFileno) -> int: ...
51
def sendfds(sock, fds) -> None: ...
52
def DupFd(fd): ...
53
0 commit comments