Add missing TCP_CONNECTION_INFO to socket module (#10402)

This commit is contained in:
Nikita Sobolev authored and GitHub committed 2023-07-04 12:32:38 +02:00
1 parent 614aa1a2ba
commit 702226e1fd
3 files changed
+2 -4

No files matched your search

+2
View File
@@ -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