Add __all__ for modules beginning with 'h' and 'i' (#7327)

This commit is contained in:
Alex Waygood
2022-02-20 22:01:45 +00:00
committed by GitHub
parent 2279c87257
commit 8f2f857ffc
15 changed files with 150 additions and 0 deletions

View File

@@ -1,4 +1,6 @@
from typing import AnyStr
__all__ = ["escape", "unescape"]
def escape(s: AnyStr, quote: bool = ...) -> AnyStr: ...
def unescape(s: AnyStr) -> AnyStr: ...

View File

@@ -1,3 +1,5 @@
__all__ = ["html5", "name2codepoint", "codepoint2name", "entitydefs"]
name2codepoint: dict[str, int]
html5: dict[str, str]
codepoint2name: dict[int, str]

View File

@@ -1,6 +1,8 @@
from _markupbase import ParserBase
from typing import Pattern
__all__ = ["HTMLParser"]
class HTMLParser(ParserBase):
def __init__(self, *, convert_charrefs: bool = ...) -> None: ...
def feed(self, data: str) -> None: ...