summaryrefslogtreecommitdiffstatshomepage
path: root/py/objstringio.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-02-03 12:13:44 +1100
committerDamien George <damien.p.george@gmail.com>2017-02-03 12:13:44 +1100
commit7317e34383061dcd168190cc9584471c59d2d62e (patch)
tree42f100b12eeac45338b49f37d1b283c75f9f702f /py/objstringio.h
parent87882e1708bc5118bcaaed048c121c75e349888c (diff)
downloadmicropython-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/objstringio.h')
0 files changed, 0 insertions, 0 deletions