summaryrefslogtreecommitdiff
path: root/coverage/summary.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2022-11-06 15:52:15 -0500
committerNed Batchelder <ned@nedbatchelder.com>2022-11-06 16:16:04 -0500
commit9c26c9580b95c782614397a218f8730169fffc12 (patch)
treef6a86e88541e008dcaf2b075b2e60e2617681966 /coverage/summary.py
parent556344babd5210c093eba547d1b15489843f4359 (diff)
downloadpython-coveragepy-git-9c26c9580b95c782614397a218f8730169fffc12.tar.gz
refactor: remove mention of Python 2 unicode
Diffstat (limited to 'coverage/summary.py')
-rw-r--r--coverage/summary.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/coverage/summary.py b/coverage/summary.py
index 24aa30f2..464445ef 100644
--- a/coverage/summary.py
+++ b/coverage/summary.py
@@ -150,8 +150,7 @@ class SummaryReporter:
def report(self, morfs, outfile=None):
"""Writes a report summarizing coverage statistics per module.
- `outfile` is a file object to write the summary to. It must be opened
- for native strings (bytes on Python 2, Unicode on Python 3).
+ `outfile` is a text-mode file object to write the summary to.
"""
self.outfile = outfile or sys.stdout