diff options
Diffstat (limited to 'third_party/python/MarkupSafe/src/markupsafe/_speedups.pyi')
-rw-r--r-- | third_party/python/MarkupSafe/src/markupsafe/_speedups.pyi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/third_party/python/MarkupSafe/src/markupsafe/_speedups.pyi b/third_party/python/MarkupSafe/src/markupsafe/_speedups.pyi new file mode 100644 index 0000000000..f673240f6d --- /dev/null +++ b/third_party/python/MarkupSafe/src/markupsafe/_speedups.pyi @@ -0,0 +1,9 @@ +from typing import Any +from typing import Optional + +from . import Markup + +def escape(s: Any) -> Markup: ... +def escape_silent(s: Optional[Any]) -> Markup: ... +def soft_str(s: Any) -> str: ... +def soft_unicode(s: Any) -> str: ... |