Skip to content

Commit 495dad4

Browse files
Spell out integer timeout support per review
1 parent 93d50eb commit 495dad4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎stubs/PySocks/socks.pyi‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ _Endpoint: TypeAlias = tuple[str, int]
7474

7575
def create_connection(
7676
dest_pair: _Endpoint,
77-
timeout: float | None = None,
77+
timeout: float | int | None = None,
7878
source_address: _Endpoint | None = None,
7979
proxy_type: _ProxyType | None = None,
8080
proxy_addr: str | None = None,

0 commit comments

Comments
 (0)