(self, input, errors='strict')
| 218 | return res, len(input) |
| 219 | |
| 220 | def decode(self, input, errors='strict'): |
| 221 | if errors not in ('strict', 'replace', 'ignore'): |
| 222 | raise UnicodeError(f"Unsupported error handling: {errors}") |
| 223 | res = punycode_decode(input, errors) |
| 224 | return res, len(input) |
| 225 | |
| 226 | class IncrementalEncoder(codecs.IncrementalEncoder): |
| 227 | def encode(self, input, final=False): |
nothing calls this directly
no test coverage detected