mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-07 05:54:02 +08:00
[html.parser] Add scripting param for later patch releases (#14979)
This commit is contained in:
@@ -9,7 +9,8 @@ class HTMLParser(ParserBase):
|
||||
# Added in Python 3.9.23, 3.10.18, 3.11.13, 3.12.11, 3.13.6
|
||||
RCDATA_CONTENT_ELEMENTS: Final[tuple[str, ...]]
|
||||
|
||||
def __init__(self, *, convert_charrefs: bool = True) -> None: ...
|
||||
# `scripting` parameter added in Python 3.9.25, 3.10.20, 3.11.15, 3.12.13, 3.13.10, 3.14.1
|
||||
def __init__(self, *, convert_charrefs: bool = True, scripting: bool = False) -> 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