mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
Add __all__ for modules beginning with 'h' and 'i' (#7327)
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
from typing import AnyStr
|
||||
|
||||
__all__ = ["escape", "unescape"]
|
||||
|
||||
def escape(s: AnyStr, quote: bool = ...) -> AnyStr: ...
|
||||
def unescape(s: AnyStr) -> AnyStr: ...
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
__all__ = ["html5", "name2codepoint", "codepoint2name", "entitydefs"]
|
||||
|
||||
name2codepoint: dict[str, int]
|
||||
html5: dict[str, str]
|
||||
codepoint2name: dict[int, str]
|
||||
|
||||
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user