This commit is contained in:
alexey.ivanov
2010-02-26 17:09:00 +03:00
parent 0c094c0a67
commit a1db395f8a
@@ -34,7 +34,7 @@ i = "test"
'%(name)s' % {'name': i} #ok
'%s' % i #ok
'%f' % i #Unexpected type
'%f' % 2 * i + 5 #ok
'%f' % (2 * i + 5) #ok
s = "%s" % "a".upper() #ok
x = ['a', 'b', 'c']
print "%d: %s" % (len(x), ", ".join(x)) #ok