Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions stubs/html5lib/html5lib/html5parser.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,16 @@ class HTMLParser:
def parse(self, stream: _InputStream, scripting: bool = ..., **kwargs): ...
def parseFragment(self, stream: _InputStream, *args, **kwargs): ...
def parseError(self, errorcode: str = "XXX-undefined-error", datavars=None) -> None: ...
def adjustMathMLAttributes(self, token) -> None: ...
def adjustSVGAttributes(self, token) -> None: ...
def adjustForeignAttributes(self, token) -> None: ...
def reparseTokenNormal(self, token) -> None: ...
def adjustMathMLAttributes(self, token: dict[str, Any]) -> None: ...
def adjustSVGAttributes(self, token: dict[str, Any]) -> None: ...
def adjustForeignAttributes(self, token: dict[str, Any]) -> None: ...
def reparseTokenNormal(self, token: dict[str, Any]) -> None: ...
def resetInsertionMode(self) -> None: ...
originalPhase: Incomplete
def parseRCDataRawtext(self, token, contentType) -> None: ...

def getPhases(debug): ...
def adjust_attributes(token, replacements) -> None: ...
def adjust_attributes(token: dict[str, Any], replacements: dict[str, Any]) -> None: ...
def impliedTagToken(
name: str, type: str = "EndTag", attributes: dict[str, Any] | None = None, selfClosing: bool = False
) -> dict[str, Any]: ...
Expand Down