summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES7
-rw-r--r--coverage/control.py7
2 files changed, 13 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index 85e27205..f56df81b 100644
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,13 @@
CHANGE HISTORY for coverage.py
------------------------------
+Version 3.0b2
+-------------
+
+Continued refactoring.
+
+-
+
Version 3.0b1
-------------
diff --git a/coverage/control.py b/coverage/control.py
index 4f3a3f57..cd1a515a 100644
--- a/coverage/control.py
+++ b/coverage/control.py
@@ -152,8 +152,13 @@ class coverage:
return (filename, statements, excluded, missing,
format_lines(statements, missing))
- # Programmatic entry point
def report(self, morfs, show_missing=True, ignore_errors=False, file=None):
+ """Write a summary report to `file`.
+
+ Each module in `morfs` is listed, with counts of statements, executed
+ statements, missing statements, and a list of lines missed.
+
+ """
reporter = SummaryReporter(self, show_missing, ignore_errors)
reporter.report(morfs, outfile=file)