Fix stdlib stubtest for latest Python patch releases (#13812)

This commit is contained in:
Brian Schubert authored and GitHub committed 2025-04-10 14:19:45 -07:00
1 parent 87f599dc83
commit c7b8fe9f06
11 files changed
+33 -18

No files matched your search

+1 -1
View File
@@ -514,7 +514,7 @@ if sys.platform != "win32":
"IPV6_RTHDRDSTOPTS",
]
if sys.platform != "darwin":
if sys.platform != "darwin" or sys.version_info >= (3, 13):
from _socket import SO_BINDTODEVICE as SO_BINDTODEVICE
__all__ += ["SO_BINDTODEVICE"]