diff --git a/stdlib/html/__init__.pyi b/stdlib/html/__init__.pyi index afba90832535..8ad72f126588 100644 --- a/stdlib/html/__init__.pyi +++ b/stdlib/html/__init__.pyi @@ -1,6 +1,4 @@ -from typing import AnyStr - __all__ = ["escape", "unescape"] -def escape(s: AnyStr, quote: bool = True) -> AnyStr: ... -def unescape(s: AnyStr) -> AnyStr: ... +def escape(s: str, quote: bool = True) -> str: ... +def unescape(s: str) -> str: ...