sanyaade-g2g-repos / skulpt

Automatically exported from code.google.com/p/skulpt
Other
0 stars 0 forks source link

String interpolation results inTypeError #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Code you're trying to run:
>>> "Interpolation: %i" % 5
TypeError

What does "real" Python output?
>>> "Interpolation: %i" % 5
'Interpolation: 5'

What browser are you using? On what operating system?
Safari 4.0.3 on Mac OS X 10.5.8

Please provide any additional information.
Any string interpolation fails, whatever combo you use.

Original issue reported on code.google.com by zopati...@gmail.com on 13 Aug 2009 at 3:53

GoogleCodeExporter commented 9 years ago

Original comment by sgraham on 25 Aug 2009 at 10:48

GoogleCodeExporter commented 9 years ago
only % so far, not new-style "".format(...)

Original comment by sgraham on 29 Aug 2009 at 4:41