We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd6c5d6 commit 78368f3Copy full SHA for 78368f3
1 file changed
doc/bus.rst
@@ -39,7 +39,7 @@ Receiving
39
'''''''''
40
41
Reading from the bus is achieved by either calling the :meth:`~can.BusABC.recv` method or
42
-by directly iterating over the bus:
+by directly iterating over the bus::
43
44
for msg in bus:
45
print(msg.data)
@@ -55,7 +55,7 @@ Sending and receiving is locked seperatly to avoid unnessesary delays.
55
56
It can be used exactly like the normal :class:`~can.Bus` class:
57
58
- my_bus = can.Bus(interface='socketcan', channel='vcan0')
+ my_bus = can.ThreadSafeBus(interface='socketcan', channel='vcan0')
59
my_bus.send(...)
60
61
.. autoclass:: can.ThreadSafeBus
0 commit comments