(s, encoding="utf-8", errors="strict")
| 72 | |
| 73 | |
| 74 | def bytes_(s, encoding="utf-8", errors="strict"): |
| 75 | if isinstance(s, six.text_type): |
| 76 | return s.encode("utf-8", errors) |
| 77 | |
| 78 | |
| 79 | webob.compat.bytes_ = bytes_ |
nothing calls this directly
no outgoing calls
no test coverage detected