mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-07 04:34:33 +08:00
Add missing TCP_CONNECTION_INFO to socket module (#10402)
This commit is contained in:
1 parent
614aa1a2ba
commit
702226e1fd
3 files changed
+2
-4
No files matched your search
@@ -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