mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-16 11:01:27 +08:00
[socket] Make socketpair not support type: SocketType (#15284)
This commit is contained in:
1 parent
3789c36681
commit
fd895f7819
1 file changed
+1
-1
+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