What steps will reproduce the problem?
onetwo = {'x':1,'y':2}
strlcomp = ['%s= %s'%(k,v)
for k, v in onetwo.items()]
print(strlcomp)
assert 'x= 1' in strlcomp
print('OK')
What is the expected output? What do you see instead?
['x= 1','y= 2']
OK
instead fails with syntax error:
--
SyntaxError: unterminated string literal @
http://www.brython.info/py_classes.js:248
What version of the product are you using? On what operating system?
Brython version 1.1.20130217-084411
Linux Mint 14
Please provide any additional information below.
works fine in Brython version 1.0.20130214-215612
Original issue reported on code.google.com by ca...@nce.ufrj.br on 17 Feb 2013 at 7:18
Original issue reported on code.google.com by
ca...@nce.ufrj.br
on 17 Feb 2013 at 7:18