mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-04 20:45:49 +08:00
[socket] Make socketpair not support type: SocketType (#15284)
This commit is contained in:
+1
-1
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user