Skip to content

Commit 70ac964

Browse files
pierreluctghardbyte
authored andcommitted
Fix doc to reflect the correct argument context
1 parent e87189b commit 70ac964

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

doc/configuration.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ The configuration file sets the default interface and channel:
5757
bitrate = <the bitrate in bits/s to use by default>
5858

5959

60-
The configuration can also contain additional sections:
60+
The configuration can also contain additional sections (or context):
6161

6262
::
6363

@@ -81,8 +81,8 @@ The configuration can also contain additional sections:
8181

8282
from can.interfaces.interface import Bus
8383

84-
hs_bus = Bus(config_section='HS')
85-
ms_bus = Bus(config_section='MS')
84+
hs_bus = Bus(context='HS')
85+
ms_bus = Bus(context='MS')
8686

8787
Environment Variables
8888
---------------------

0 commit comments

Comments
 (0)