mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
improve urlencode(...) annotation for quote_via (#6345)
This commit is contained in:
@@ -116,10 +116,10 @@ def urldefrag(url: bytes | None) -> DefragResultBytes: ...
|
||||
def urlencode(
|
||||
query: Mapping[Any, Any] | Mapping[Any, Sequence[Any]] | Sequence[tuple[Any, Any]] | Sequence[tuple[Any, Sequence[Any]]],
|
||||
doseq: bool = ...,
|
||||
safe: AnyStr = ...,
|
||||
safe: _Str = ...,
|
||||
encoding: str = ...,
|
||||
errors: str = ...,
|
||||
quote_via: Callable[[str, AnyStr, str, str], str] = ...,
|
||||
quote_via: Callable[[AnyStr, _Str, str, str], str] = ...,
|
||||
) -> str: ...
|
||||
def urljoin(base: AnyStr, url: AnyStr | None, allow_fragments: bool = ...) -> AnyStr: ...
|
||||
@overload
|
||||
|
||||
Reference in New Issue
Block a user