File manager - Edit - /usr/lib/mysqlsh/lib/python3.9/site-packages/svg/_helpers.py
Back
from __future__ import annotations from ._types import Length, Number def escape(text: str) -> str: """Make the text safe to use in SVG. """ text = text.replace("&", "&") text = text.replace(">", ">") text = text.replace("<", "<") return text def mm(val: Number) -> Length: """Explicitly specify mm unit for the value. """ return Length(value=val, unit='mm') def px(val: Number) -> Length: """Explicitly specify px unit for the value. """ return Length(value=val, unit='px')
| ver. 1.4 |
Github
|
.
| PHP 8.2.32 | Generation time: 0.06 |
proxy
|
phpinfo
|
Settings