mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-04 19:28:50 +08:00
[requests] Allow "connect" timeout to be None in timeout configuration tuple (#14700)
This commit is contained in:
1 parent
05007ac762
commit
59c36c8bf9
1 file changed
+1
-1
@@ -102,7 +102,7 @@ _Params: TypeAlias = (
|
||||
)
|
||||
_TextMapping: TypeAlias = MutableMapping[str, str]
|
||||
_HeadersUpdateMapping: TypeAlias = Mapping[str, str | bytes | None]
|
||||
_Timeout: TypeAlias = float | tuple[float, float] | tuple[float, None]
|
||||
_Timeout: TypeAlias = float | tuple[float | None, float | None]
|
||||
_Verify: TypeAlias = bool | str
|
||||
|
||||
@type_check_only
|
||||
|
||||
Reference in new issue
Block a user