summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/class3.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-05-07 21:18:17 +0100
committerDamien George <damien.p.george@gmail.com>2016-05-07 21:18:17 +0100
commit12dd8df3756d58af2f4d1f54eefd90f1ce1e0dbe (patch)
tree1a68d55f561fcda2b4ee814707d9cc6c43495142 /tests/basics/class3.py
parent2724bd4a94a3f75427bc2a287c88cbca69c49124 (diff)
downloadmicropython-12dd8df3756d58af2f4d1f54eefd90f1ce1e0dbe.tar.gz
micropython-12dd8df3756d58af2f4d1f54eefd90f1ce1e0dbe.zip
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).
Diffstat (limited to 'tests/basics/class3.py')
0 files changed, 0 insertions, 0 deletions