(safe)
| 918 | # Expectation: A typical program is unlikely to create more than 5 of these. |
| 919 | @functools.lru_cache |
| 920 | def _byte_quoter_factory(safe): |
| 921 | return _Quoter(safe).__getitem__ |
| 922 | |
| 923 | def quote_from_bytes(bs, safe='/'): |
| 924 | """Like quote(), but accepts a bytes object rather than a str, and does |
no test coverage detected