commit | a80ff04fe7458b8ed8e948619b3700b720832ec2 | [log] [tgz] |
---|---|---|
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | Mon Jan 20 20:32:50 2014 +0200 |
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | Mon Jan 20 20:37:01 2014 +0200 |
tree | 8f78e879e523c609c36475bf14bde8043c2719fb | |
parent | f0cfb8cb45cb1fc91c77fae98f5452b7f7865392 [diff] [blame] |
Add dummy bytes() constructor. Currently, MicroPython strings are mix between CPython byte and unicode strings. So, conversion is null so far. This dummy implementation is intended for compatibility with CPython (so, same code can run on both).
diff --git a/py/mpqstrraw.h b/py/mpqstrraw.h index 10b1fc0..9bc01c5 100644 --- a/py/mpqstrraw.h +++ b/py/mpqstrraw.h
@@ -40,6 +40,7 @@ Q(array) Q(bool) Q(bytearray) +Q(bytes) Q(callable) Q(chr) Q(complex)