diff options
author | Damien George <damien.p.george@gmail.com> | 2017-02-03 12:13:44 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-02-03 12:13:44 +1100 |
commit | 7317e34383061dcd168190cc9584471c59d2d62e (patch) | |
tree | 42f100b12eeac45338b49f37d1b283c75f9f702f /py/map.c | |
parent | 87882e1708bc5118bcaaed048c121c75e349888c (diff) | |
download | micropython-7317e34383061dcd168190cc9584471c59d2d62e.tar.gz micropython-7317e34383061dcd168190cc9584471c59d2d62e.zip |
py/objstr: Give correct behaviour when passing a dict to %-formatting.
This patch fixes two main things:
- dicts can be printed directly using '%s' % dict
- %-formatting should not crash when passed a non-dict to, eg, '%(foo)s'
Diffstat (limited to 'py/map.c')
0 files changed, 0 insertions, 0 deletions