mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
Add missing TCP_CONNECTION_INFO to socket module (#10402)
This commit is contained in:
@@ -468,6 +468,8 @@ if sys.version_info >= (3, 12):
|
||||
ETHERTYPE_IPV6 as ETHERTYPE_IPV6,
|
||||
ETHERTYPE_VLAN as ETHERTYPE_VLAN,
|
||||
)
|
||||
if sys.version_info >= (3, 11) and sys.platform == "darwin":
|
||||
from _socket import TCP_CONNECTION_INFO as TCP_CONNECTION_INFO
|
||||
|
||||
# Re-exported from errno
|
||||
EBADF: int
|
||||
|
||||
Reference in New Issue
Block a user