mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
Consistently use '= ...' for optional parameters.
This commit is contained in:
@@ -34,11 +34,11 @@ class ParseResult(NamedTuple('ParseResult', [
|
||||
]), ResultMixin):
|
||||
def geturl(self) -> str: ...
|
||||
|
||||
def urlparse(url: str, scheme: str = '', allow_fragments: bool = True) -> ParseResult: ...
|
||||
def urlsplit(url: str, scheme: str = '', allow_fragments: bool = True) -> SplitResult: ...
|
||||
def urlparse(url: str, scheme: str = ..., allow_fragments: bool = ...) -> ParseResult: ...
|
||||
def urlsplit(url: str, scheme: str = ..., allow_fragments: bool = ...) -> SplitResult: ...
|
||||
def urlunparse(data: Tuple[str, str, str, str, str, str]) -> str: ...
|
||||
def urlunsplit(data: Tuple[str, str, str, str, str]) -> str: ...
|
||||
def urljoin(base: str, url: str, allow_fragments: bool = True) -> str: ...
|
||||
def urljoin(base: str, url: str, allow_fragments: bool = ...) -> str: ...
|
||||
def urldefrag(url: str) -> str: ...
|
||||
def unquote(s: str) -> str: ...
|
||||
def parse_qs(qs: str, keep_blank_values: bool = ...,
|
||||
|
||||
Reference in New Issue
Block a user