summaryrefslogtreecommitdiff
path: root/coverage/control.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/control.py')
-rw-r--r--coverage/control.py8
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