mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-03 08:23:47 +08:00
1 parent
c93f262427
commit
ab1dcafec2
2 files changed
+4
No files matched your search
@@ -256,6 +256,8 @@ SO_SNDLOWAT: int
|
||||
SO_SNDTIMEO: int
|
||||
SO_TYPE: int
|
||||
SO_USELOOPBACK: int
|
||||
if sys.platform == "linux" and sys.version_info >= (3, 11):
|
||||
SO_INCOMING_CPU: int
|
||||
TCP_CORK: int
|
||||
TCP_DEFER_ACCEPT: int
|
||||
TCP_FASTOPEN: int
|
||||
|
||||
@@ -366,6 +366,8 @@ if sys.platform == "linux" and sys.version_info >= (3, 9):
|
||||
)
|
||||
if sys.platform == "linux" and sys.version_info >= (3, 10):
|
||||
from _socket import IPPROTO_MPTCP as IPPROTO_MPTCP
|
||||
if sys.platform == "linux" and sys.version_info >= (3, 11):
|
||||
from _socket import SO_INCOMING_CPU as SO_INCOMING_CPU
|
||||
if sys.platform == "win32":
|
||||
from _socket import (
|
||||
RCVALL_IPLEVEL as RCVALL_IPLEVEL,
|
||||
|
||||
Reference in new issue
Block a user