py/objstr: Make string formatting 8-bit clean.

This commit is contained in:
Damien George
2015-08-26 15:29:49 +01:00
parent 1d350b8ac6
commit 51b9a0d0c4
3 changed files with 14 additions and 7 deletions

View File

@@ -0,0 +1,4 @@
# test handling of unicode chars in format strings
print('α'.format())
print('{α}'.format(α=1))