(self, input, final=False)
| 229 | |
| 230 | class IncrementalDecoder(codecs.IncrementalDecoder): |
| 231 | def decode(self, input, final=False): |
| 232 | if self.errors not in ('strict', 'replace', 'ignore'): |
| 233 | raise UnicodeError(f"Unsupported error handling: {self.errors}") |
| 234 | return punycode_decode(input, self.errors) |
| 235 | |
| 236 | class StreamWriter(Codec,codecs.StreamWriter): |
| 237 | pass |
nothing calls this directly
no test coverage detected