summaryrefslogtreecommitdiff
path: root/coverage
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2019-04-28 15:48:11 -0400
committerNed Batchelder <ned@nedbatchelder.com>2019-04-28 15:48:11 -0400
commit5d589558c585686e051fc34df52803873e560907 (patch)
treec1478b63723c850cd16ea504089e53ce8917b1a1 /coverage
parent50ebf93932abac7b163ae98a724ec20c327ba588 (diff)
downloadpython-coveragepy-git-5d589558c585686e051fc34df52803873e560907.tar.gz
Docs for new dynamic context techniques
Diffstat (limited to 'coverage')
-rw-r--r--coverage/control.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/coverage/control.py b/coverage/control.py
index ace3d8bf..76467257 100644
--- a/coverage/control.py
+++ b/coverage/control.py
@@ -487,7 +487,9 @@ class Coverage(object):
"""Switch to a new dynamic context.
`new_context` is a string to use as the context label
- for collected data.
+ for collected data. If a :ref:`static context <static_contexts>` is in
+ use, the static and dynamic context labels will be joined together with
+ a pipe character.
Coverage collection must be started already.