Calls ``bytes.decode`` element-wise. See Also -------- char.decode
(self, encoding=None, errors=None)
| 2293 | return count(self, sub, start, end) |
| 2294 | |
| 2295 | def decode(self, encoding=None, errors=None): |
| 2296 | """ |
| 2297 | Calls ``bytes.decode`` element-wise. |
| 2298 | |
| 2299 | See Also |
| 2300 | -------- |
| 2301 | char.decode |
| 2302 | |
| 2303 | """ |
| 2304 | return decode(self, encoding, errors) |
| 2305 | |
| 2306 | def encode(self, encoding=None, errors=None): |
| 2307 | """ |