Skip to content

Commit 278af13

Browse files
committed
Rewording in docstring
1 parent cf183f6 commit 278af13

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

coverage_badge/__main__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,15 @@ class Precision(coverage.results.Numbers):
5151
A class for using the percentage rounding of the main coverage package,
5252
with any percentage.
5353
54-
_Precision.pc_covered_str is the string format of the percentage.
54+
To get the string format of the percentage, use the ``pc_covered_str``
55+
property.
56+
5557
"""
5658
def __init__(self, percent):
5759
self.percent = percent
5860

5961
@property
6062
def pc_covered(self):
61-
"""overriding the percentage calculation of the parent class"""
6263
return self.percent
6364

6465

0 commit comments

Comments
 (0)