We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents eb8d92d + 89deff5 commit c959047Copy full SHA for c959047
doc/bus.rst
@@ -80,7 +80,9 @@ This thread safe version of the :class:`~can.BusABC` class can be used by multip
80
Sending and receiving is locked separately to avoid unnecessary delays.
81
Conflicting calls are executed by blocking until the bus is accessible.
82
83
-It can be used exactly like the normal :class:`~can.BusABC`::
+It can be used exactly like the normal :class:`~can.BusABC`:
84
+
85
+.. code-block:: python
86
87
# 'socketcan' is only an example interface, it works with all the others too
88
my_bus = can.ThreadSafeBus(interface='socketcan', channel='vcan0')
0 commit comments