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

This commit is contained in:
Alex Waygood
2025-02-05 23:33:27 +00:00
committed by GitHub
parent aac4394eb2
commit 5caaf2e1fb
12 changed files with 28 additions and 5 deletions
+1 -1
View File
@@ -515,7 +515,7 @@ if sys.platform != "win32":
"IPV6_RTHDRDSTOPTS",
]
if sys.platform != "darwin" or sys.version_info >= (3, 13):
if sys.platform != "darwin":
from _socket import SO_BINDTODEVICE as SO_BINDTODEVICE
__all__ += ["SO_BINDTODEVICE"]