Skip to content

Commit 78368f3

Browse files
committed
fix proposed doc chnages
1 parent bd6c5d6 commit 78368f3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

doc/bus.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Receiving
3939
'''''''''
4040

4141
Reading from the bus is achieved by either calling the :meth:`~can.BusABC.recv` method or
42-
by directly iterating over the bus:
42+
by directly iterating over the bus::
4343

4444
for msg in bus:
4545
print(msg.data)
@@ -55,7 +55,7 @@ Sending and receiving is locked seperatly to avoid unnessesary delays.
5555

5656
It can be used exactly like the normal :class:`~can.Bus` class:
5757

58-
my_bus = can.Bus(interface='socketcan', channel='vcan0')
58+
my_bus = can.ThreadSafeBus(interface='socketcan', channel='vcan0')
5959
my_bus.send(...)
6060

6161
.. autoclass:: can.ThreadSafeBus

0 commit comments

Comments
 (0)