Utilities/ClassBrowsers/rbclbr.py

changeset 428
58405c24aa09
parent 97
c4086afea02b
child 791
9ec2ac20e54e
--- a/Utilities/ClassBrowsers/rbclbr.py	Thu Jul 29 08:50:45 2010 +0200
+++ b/Utilities/ClassBrowsers/rbclbr.py	Thu Jul 29 11:02:09 2010 +0200
@@ -331,7 +331,7 @@
                              file, lineno, meth_sig)
                 if meth_name in dict_counts:
                     dict_counts[meth_name] += 1
-                    meth_name = "%s_%d" % (meth_name, dict_counts[meth_name])
+                    meth_name = "{0}_{1:d}".format(meth_name, dict_counts[meth_name])
                 else:
                     dict_counts[meth_name] = 0
                 dict[meth_name] = f

eric ide

mercurial