Skip to content

Commit fd895f7

Browse files
authored
[socket] Make socketpair not support type: SocketType (#15284)
1 parent 3789c36 commit fd895f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/socket.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1409,7 +1409,7 @@ if sys.platform == "win32":
14091409

14101410
else:
14111411
def socketpair(
1412-
family: int | AddressFamily | None = None, type: SocketType | int = ..., proto: int = 0
1412+
family: int | AddressFamily | None = None, type: SocketKind | int = ..., proto: int = 0
14131413
) -> tuple[socket, socket]: ...
14141414

14151415
class SocketIO(RawIOBase):

0 commit comments

Comments
 (0)