Skip to content

Commit 93300f6

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
1 parent 972600e commit 93300f6

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

stdlib/_socket.pyi

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ _CMSGArg: TypeAlias = tuple[int, int, ReadableBuffer]
1111
# Addresses can be either tuples of varying lengths (AF_INET, AF_INET6,
1212
# AF_NETLINK, AF_TIPC) or strings/buffers (AF_UNIX).
1313
# See getsockaddrarg() in socketmodule.c.
14-
_Address: TypeAlias = tuple[Any, ...] | str | ReadableBuffer | int #int is included because of device_id not packed in a tuple is now accepted for BTPROTO_HCI
14+
_Address: TypeAlias = (
15+
tuple[Any, ...] | str | ReadableBuffer | int
16+
) # int is included because of device_id not packed in a tuple is now accepted for BTPROTO_HCI
1517
_RetAddress: TypeAlias = Any
1618

1719
# ===== Constants =====
@@ -581,7 +583,7 @@ if sys.platform == "linux":
581583
SO_VM_SOCKETS_BUFFER_SIZE: Final = 0
582584
SO_VM_SOCKETS_BUFFER_MIN_SIZE: Final = 1
583585
VM_SOCKETS_INVALID_VERSION: Final = 0xFFFFFFFF # undocumented
584-
#Bluetooth constants new in 3.14
586+
# Bluetooth constants new in 3.14
585587
if sys.version_info >= (3, 14):
586588
BDADDR_BREDR: int
587589
BDADDR_LE_PUBLIC: int
@@ -739,9 +741,9 @@ if sys.version_info >= (3, 12):
739741
SOL_L2CAP: Final[int]
740742
SOL_RFCOMM: Final[int]
741743
SOL_SCO: Final[int]
742-
743-
# --------------------
744-
# Semi-documented constants
744+
745+
# --------------------
746+
# Semi-documented constants
745747
BDADDR_BREDR: Final[int]
746748
BDADDR_LE_PUBLIC: Final[int]
747749
BDADDR_LE_RANDOM: Final[int]

0 commit comments

Comments
 (0)