Skip to content

Commit

Permalink
fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
cle-b committed Jan 12, 2025
1 parent d69639b commit 90e959f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hookdns/getaddrinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def _patch_socket_getaddrinfo(
socket.SocketKind,
int,
str,
Tuple[str, int] | Tuple[str, int, int, int],
Union[Tuple[str, int], Tuple[str, int, int, int]],
]
]:
new_host = hosts.get(str(host), host) if host else host
Expand Down

0 comments on commit 90e959f

Please sign in to comment.