summaryrefslogtreecommitdiffstats
path: root/src/markupsafe/_speedups.pyi
diff options
context:
space:
mode:
Diffstat (limited to 'src/markupsafe/_speedups.pyi')
-rw-r--r--src/markupsafe/_speedups.pyi9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/markupsafe/_speedups.pyi b/src/markupsafe/_speedups.pyi
new file mode 100644
index 0000000..f673240
--- /dev/null
+++ b/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: ...