diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2022-08-21 12:29:37 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2022-08-21 12:32:29 -0400 |
commit | 274de050dac6876976bbf57f9da39997225371f9 (patch) | |
tree | 5ea75f5e1591ff0071bf14890f75ccbd82c56482 /coverage/control.py | |
parent | e6f14739ec16b1274668ac26cdde030fe20fd4bc (diff) | |
download | python-coveragepy-git-274de050dac6876976bbf57f9da39997225371f9.tar.gz |
docs: ensure code blocks are highlighted properly
Diffstat (limited to 'coverage/control.py')
-rw-r--r-- | coverage/control.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/coverage/control.py b/coverage/control.py index a0571c97..9c4a2ac7 100644 --- a/coverage/control.py +++ b/coverage/control.py @@ -424,11 +424,15 @@ class Coverage: appropriate Python value. For example, use True for booleans, not the string ``"True"``. - As an example, calling:: + As an example, calling: + + .. code-block:: python cov.set_option("run:branch", True) - has the same effect as this configuration file:: + has the same effect as this configuration file: + + .. code-block:: ini [run] branch = True |