(value: t.AnyStr, encoding: str = "utf-8")
| 553 | |
| 554 | |
| 555 | def _encode(value: t.AnyStr, encoding: str = "utf-8") -> bytes: |
| 556 | if isinstance(value, str): |
| 557 | return value.encode(encoding) |
| 558 | return value |
| 559 | |
| 560 | |
| 561 | def quote(value: t.Any, safe: str) -> str: |
no outgoing calls
no test coverage detected
searching dependent graphs…