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
commit7537d098950ad231991bbaabbe2bddca8cd024c7 (patch)
tree66d92b2c1247053a99ab64c380f3a5e212f05984 /coverage/control.py
parenta6134bd63c0dbc0d6111f779cdf247fa85d6181d (diff)
downloadpython-coveragepy-git-7537d098950ad231991bbaabbe2bddca8cd024c7.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 4bcb4ed4..24fed7b9 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__