(s)
| 4304 | if encoding is not None: |
| 4305 | encoder = codecs.getincrementalencoder(encoding)() |
| 4306 | def _decode_bytewise(s): |
| 4307 | # Decode one byte at a time |
| 4308 | for b in encoder.encode(s): |
| 4309 | result.append(decoder.decode(bytes([b]))) |
| 4310 | else: |
| 4311 | encoder = None |
| 4312 | def _decode_bytewise(s): |