Skip to content

Commit 4cde41f

Browse files
authored
Correct a type hint
1 parent 0312a2d commit 4cde41f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

zeroconf/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1683,7 +1683,7 @@ def _set_text(self, text: bytes) -> None:
16831683
for s in strs:
16841684
parts = s.split(b'=', 1)
16851685
try:
1686-
key, value = parts # type: Tuple[bytes, Union[bool, bytes]]
1686+
key, value = parts # type: Tuple[bytes, Optional[bytes]]
16871687
except ValueError:
16881688
# No equals sign at all
16891689
key = s

0 commit comments

Comments
 (0)