Details
-
Type:
New Feature
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 0.8.1
-
Fix Version/s: 0.9
-
Component/s: None
-
Labels:None
-
Testcase included:yes
-
Number of attachments :
Description
Currently we can do this :
n = 42
print "hex(x) = {0:x4}" % (n,)
or this :
n = 42
print "hex(n) = ${n.ToString('x4')}"
It would be nice to be able to do this :
n = 42
print "hex(n) = ${n:x4}"
Landed in rev. 3073