summaryrefslogtreecommitdiff
path: root/coverage/control.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2009-11-27 18:00:26 -0500
committerNed Batchelder <ned@nedbatchelder.com>2009-11-27 18:00:26 -0500
commit8955ddc38ddaecde0b7a75f2744cb65642bac929 (patch)
tree7a8db5579eb726bbcff4425fe6609dfb1d245d68 /coverage/control.py
parentf39a7eaefc09ffbbf6ef3ae358348aab6f4d11fc (diff)
downloadpython-coveragepy-8955ddc38ddaecde0b7a75f2744cb65642bac929.tar.gz
Doc tweaks.
Diffstat (limited to 'coverage/control.py')
-rw-r--r--coverage/control.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/coverage/control.py b/coverage/control.py
index 4bcb4ed..24fed7b 100644
--- a/coverage/control.py
+++ b/coverage/control.py
@@ -30,8 +30,7 @@ class coverage(object):
def __init__(self, data_file=None, data_suffix=False, cover_pylib=False,
auto_data=False, timid=False, branch=False):
- """Create a new coverage measurement context.
-
+ """
`data_file` is the base name of the data file to use, defaulting to
".coverage". `data_suffix` is appended to `data_file` to create the
final file name. If `data_suffix` is simply True, then a suffix is
@@ -49,7 +48,8 @@ class coverage(object):
used. This is important for some environments where manipulation of
tracing functions breaks the faster trace function.
- If `branch` is true, then measure branch execution.
+ If `branch` is true, then branch coverage will be measured in addition
+ to the usual statement coverage.
"""
from coverage import __version__