Skip to content

Commit a50b3ee

Browse files
authored
Cleanup typing in zeroconf._utils.net (#713)
1 parent a42512c commit a50b3ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

zeroconf/_utils/net.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def normalize_interface_choice(
135135
:param ip_address: IP version to use (ignored if `choice` is a list).
136136
:returns: List of IP addresses (for IPv4) and indexes (for IPv6).
137137
"""
138-
result = [] # type: List[Union[str, Tuple[Tuple[str, int, int], int]]]
138+
result: List[Union[str, Tuple[Tuple[str, int, int], int]]] = []
139139
if choice is InterfaceChoice.Default:
140140
if ip_version != IPVersion.V4Only:
141141
# IPv6 multicast uses interface 0 to mean the default

0 commit comments

Comments
 (0)