summaryrefslogtreecommitdiff
path: root/docs/library/pyb.Switch.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/library/pyb.Switch.rst')
-rw-r--r--docs/library/pyb.Switch.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/library/pyb.Switch.rst b/docs/library/pyb.Switch.rst
index e5ab6bd84..1edcbf848 100644
--- a/docs/library/pyb.Switch.rst
+++ b/docs/library/pyb.Switch.rst
@@ -38,7 +38,7 @@ Methods
.. method:: Switch.value()
- Get the switch state. Returns `True` if pressed down, otherwise `False`.
+ Get the switch state. Returns ``True`` if pressed down, otherwise ``False``.
.. method:: Switch.callback(fun)