mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-06 21:43:59 +08:00
[socket] Use Final for constants (#14503)
This commit is contained in:
+511
-516
File diff suppressed because it is too large
Load Diff
+1
-3
@@ -1051,14 +1051,12 @@ if sys.version_info >= (3, 14):
|
||||
|
||||
if sys.platform == "linux":
|
||||
from _socket import (
|
||||
CAN_RAW_ERR_FILTER as CAN_RAW_ERR_FILTER,
|
||||
IP_FREEBIND as IP_FREEBIND,
|
||||
IP_RECVORIGDSTADDR as IP_RECVORIGDSTADDR,
|
||||
SO_ORIGINAL_DST as SO_ORIGINAL_DST,
|
||||
VMADDR_CID_LOCAL as VMADDR_CID_LOCAL,
|
||||
)
|
||||
|
||||
__all__ += ["CAN_RAW_ERR_FILTER", "IP_FREEBIND", "IP_RECVORIGDSTADDR", "VMADDR_CID_LOCAL"]
|
||||
__all__ += ["IP_FREEBIND", "IP_RECVORIGDSTADDR", "VMADDR_CID_LOCAL"]
|
||||
|
||||
# Re-exported from errno
|
||||
EBADF: int
|
||||
|
||||
Reference in New Issue
Block a user