diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-10-30 16:36:41 +0200 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-10-31 00:00:39 +0200 |
commit | 31619cc5893b8066799e663683ea9a7ea29602e1 (patch) | |
tree | a7c8958e45d0597296acaae47be9496d4f8c3318 /py/vstr.c | |
parent | 11aa91615ec21229742fb4551e4610f83d61eec7 (diff) | |
download | micropython-31619cc5893b8066799e663683ea9a7ea29602e1.tar.gz micropython-31619cc5893b8066799e663683ea9a7ea29602e1.zip |
py: mp_obj_str_get_str(): Work with bytes too.
It should be fair to say that almost in all cases where some API call
expects string, it should be also possible to pass byte string. For example,
it should be open/delete/rename file with name as bytestring. Note that
similar change was done quite a long ago to mp_obj_str_get_data().
Diffstat (limited to 'py/vstr.c')
0 files changed, 0 insertions, 0 deletions