Skip to content
Snippets Groups Projects
Commit 12dd8df3 authored by Damien George's avatar Damien George
Browse files

py/objstr: Binary type of str/bytes for buffer protocol is 'B'.

The type is an unsigned 8-bit value, since bytes objects are exactly
that.  And it's also sensible for unicode strings to return unsigned
values when accessed in a byte-wise manner (CPython does not allow this).
parent 2724bd4a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment