```python >>> a = DataBuffer('abcd') >>> str(a) 'abcd' ``` This PR encodes a python3 str to bytes using `charmap`. It verifies that `bytes != str` to only encode a python3 str and not a python2 str.
Diffstat (limited to 'python/binaryview.py')
0 files changed, 0 insertions, 0 deletions