]> granicus.if.org Git - python/commitdiff
Add comma grouping to max result so it's easier to read.
authorBrett Cannon <bcannon@gmail.com>
Fri, 16 Jul 2010 19:26:23 +0000 (19:26 +0000)
committerBrett Cannon <bcannon@gmail.com>
Fri, 16 Jul 2010 19:26:23 +0000 (19:26 +0000)
Lib/importlib/test/benchmark.py

index 90cb7dc27bbd50ca5e7e90a01b937dd0058904f3..6c8978fdb0ee02482fa703ecb34cc6ca54e16b30 100644 (file)
@@ -110,7 +110,7 @@ def main(import_):
             print(result, end=' ')
             sys.stdout.flush()
         assert not sys.dont_write_bytecode
-        print("]", "best is", max(results))
+        print("]", "best is", format(max(results), ',d'))
 
 
 if __name__ == '__main__':