Skip to content

Commit fb0b478

Browse files
committed
Update socks_proxy.py
changed annotation type
1 parent 553e3e6 commit fb0b478

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

httpcore/_sync/socks_proxy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def _init_socks5_connection(
4545
host: bytes,
4646
port: int,
4747
auth: tuple[bytes, bytes] | None = None,
48-
init_timeouts: typing.Optional[typing.Tuple[float, float]] = None,
48+
init_timeouts: typle[float, float] | None = None,
4949
) -> None:
5050
read_timeout, write_timeout = init_timeouts or (None, None)
5151
conn = socksio.socks5.SOCKS5Connection()

0 commit comments

Comments
 (0)