Skip to content

Commit a45a95c

Browse files
committed
Make socketpair not support type: SocketType
1 parent cd8b26b commit a45a95c

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)