Download .venv/Lib/site-packages/markupsafe/_native.py from DrDavis/PythonProject1: direct link, hf CLI and curl.
- Browser
- Download file 218 Bytes
-
https://huggingface.co/DrDavis/PythonProject1/resolve/main/.venv/Lib/site-packages/markupsafe/_native.py
- Command line
-
hf download hf://DrDavis/PythonProject1/.venv/Lib/site-packages/markupsafe/_native.py
-
curl -L -o _native.py https://huggingface.co/DrDavis/PythonProject1/resolve/main/.venv/Lib/site-packages/markupsafe/_native.py
218 Bytes
| def _escape_inner(s: str, /) -> str: | |
| return ( | |
| s.replace("&", "&") | |
| .replace(">", ">") | |
| .replace("<", "<") | |
| .replace("'", "'") | |
| .replace('"', """) | |
| ) | |