mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
stdlib: add argument default values (#9501)
This commit is contained in:
@@ -2,5 +2,5 @@ from typing import AnyStr
|
||||
|
||||
__all__ = ["escape", "unescape"]
|
||||
|
||||
def escape(s: AnyStr, quote: bool = ...) -> AnyStr: ...
|
||||
def escape(s: AnyStr, quote: bool = True) -> AnyStr: ...
|
||||
def unescape(s: AnyStr) -> AnyStr: ...
|
||||
|
||||
@@ -4,7 +4,7 @@ from re import Pattern
|
||||
__all__ = ["HTMLParser"]
|
||||
|
||||
class HTMLParser(ParserBase):
|
||||
def __init__(self, *, convert_charrefs: bool = ...) -> None: ...
|
||||
def __init__(self, *, convert_charrefs: bool = True) -> None: ...
|
||||
def feed(self, data: str) -> None: ...
|
||||
def close(self) -> None: ...
|
||||
def get_starttag_text(self) -> str | None: ...
|
||||
|
||||
Reference in New Issue
Block a user