(s)
| 220 | if bytes is not str: |
| 221 | # For python3, always encode and decode as appropriate |
| 222 | def decode_text_stream(s): |
| 223 | return s.decode() if isinstance(s, bytes) else s |
| 224 | |
| 225 | def encode_text_stream(s): |
| 226 | return s.encode() if isinstance(s, str) else s |
no outgoing calls
no test coverage detected