Skip to content

Commit 13beac6

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
1 parent c65a016 commit 13beac6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

stdlib/_socket.pyi

Lines changed: 4 additions & 4 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 =====
@@ -579,7 +581,7 @@ if sys.platform == "linux":
579581
SO_VM_SOCKETS_BUFFER_SIZE: Final = 0
580582
SO_VM_SOCKETS_BUFFER_MIN_SIZE: Final = 1
581583
VM_SOCKETS_INVALID_VERSION: Final = 0xFFFFFFFF # undocumented
582-
#Bluetooth constants new in 3.14
584+
# Bluetooth constants new in 3.14
583585
if sys.version_info >= (3, 14):
584586
BDADDR_BREDR: int
585587
BDADDR_LE_PUBLIC: int
@@ -739,8 +741,6 @@ if sys.version_info >= (3, 12):
739741
SOL_L2CAP: Final[int]
740742
SOL_RFCOMM: Final[int]
741743
SOL_SCO: Final[int]
742-
743-
744744

745745
# These are alluded to under the "Socket families" section in the docs
746746
# https://docs.python.org/3/library/socket.html#socket-families

0 commit comments

Comments
 (0)