(self, input, errors='strict')
| 214 | class Codec(codecs.Codec): |
| 215 | |
| 216 | def encode(self, input, errors='strict'): |
| 217 | res = punycode_encode(input) |
| 218 | return res, len(input) |
| 219 | |
| 220 | def decode(self, input, errors='strict'): |
| 221 | if errors not in ('strict', 'replace', 'ignore'): |
no test coverage detected