Big diff: use lower-case list and dict (#5888)

This commit is contained in:
Akuli
2021-08-08 19:26:35 +03:00
committed by GitHub
parent 11f54c3407
commit ce11072dbe
325 changed files with 2196 additions and 2334 deletions

View File

@@ -1,5 +1,5 @@
from _markupbase import ParserBase
from typing import List, Tuple
from typing import Tuple
class HTMLParser(ParserBase):
def __init__(self, *, convert_charrefs: bool = ...) -> None: ...
@@ -8,9 +8,9 @@ class HTMLParser(ParserBase):
def reset(self) -> None: ...
def getpos(self) -> Tuple[int, int]: ...
def get_starttag_text(self) -> str | None: ...
def handle_starttag(self, tag: str, attrs: List[Tuple[str, str | None]]) -> None: ...
def handle_starttag(self, tag: str, attrs: list[Tuple[str, str | None]]) -> None: ...
def handle_endtag(self, tag: str) -> None: ...
def handle_startendtag(self, tag: str, attrs: List[Tuple[str, str | None]]) -> None: ...
def handle_startendtag(self, tag: str, attrs: list[Tuple[str, str | None]]) -> None: ...
def handle_data(self, data: str) -> None: ...
def handle_entityref(self, name: str) -> None: ...
def handle_charref(self, name: str) -> None: ...