diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2019-09-01 18:20:32 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2019-09-01 18:20:32 -0400 |
commit | ada27a855934588cf753f8712bd72d41eadb1058 (patch) | |
tree | 5666295cdd896f9e3810a5467a4e9fac8b76ae0a /lab/parser.py | |
parent | 6ac3ca707457c62c16470c805fc5fa4e38fd59eb (diff) | |
download | python-coveragepy-git-ada27a855934588cf753f8712bd72d41eadb1058.tar.gz |
No need for format indexes (mostly)
Diffstat (limited to 'lab/parser.py')
-rw-r--r-- | lab/parser.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lab/parser.py b/lab/parser.py index b3560506..bf203189 100644 --- a/lab/parser.py +++ b/lab/parser.py @@ -65,9 +65,9 @@ class ParserMain(object): if options.histogram: total = sum(opcode_counts.values()) - print("{0} total opcodes".format(total)) + print("{} total opcodes".format(total)) for opcode, number in opcode_counts.most_common(): - print("{0:20s} {1:6d} {2:.1%}".format(opcode, number, number/total)) + print("{:20s} {:6d} {:.1%}".format(opcode, number, number/total)) def one_file(self, options, filename): """Process just one file.""" |