[socket] Make socketpair not support type: SocketType (#15284)

This commit is contained in:
Ganden Schaffner authored and GitHub committed 2026-01-15 08:39:35 +01:00
1 parent 3789c36681
commit fd895f7819
1 file changed
+1 -1
+1 -1
View File
@@ -1409,7 +1409,7 @@ if sys.platform == "win32":
else:
def socketpair(
family: int | AddressFamily | None = None, type: SocketType | int = ..., proto: int = 0
family: int | AddressFamily | None = None, type: SocketKind | int = ..., proto: int = 0
) -> tuple[socket, socket]: ...
class SocketIO(RawIOBase):