(self, input, errors='strict')
| 12 | |
| 13 | class Codec(codecs.Codec): |
| 14 | def encode(self, input, errors='strict'): |
| 15 | return (str.translate(input, rot13_map), len(input)) |
| 16 | |
| 17 | def decode(self, input, errors='strict'): |
| 18 | return (str.translate(input, rot13_map), len(input)) |