Skip to content

Commit ea73e07

Browse files
committed
Minor changes to the documentation
Made it more clear and less verbose when to skip connect to bluetooth devices.
1 parent 7ca3064 commit ea73e07

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/pybricks/iodevices.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -311,8 +311,8 @@ def __init__(
311311
This is required for some newer hubs.
312312
num_notifications (int): Number of incoming messages from the remote
313313
hub to store before discarding older messages.
314-
connect (bool): Choose ``True`` to connect to the device when the
315-
object is created. Choose ``False`` to skip connecting.
314+
connect (bool): Choose ``False`` to skip connecting.
315+
``connect()`` can be called later to connect.
316316
317317
.. versionchanged:: 3.6
318318
@@ -404,8 +404,8 @@ def __init__(self, joystick_deadzone: int = 10, name: Optional[str] = None, time
404404
or ``None`` to connect to any available controller.
405405
timeout (Number, ms): How long to wait for a connection before
406406
giving up.
407-
connect (bool): Choose ``True`` to connect to the controller when
408-
the object is created. Choose ``False`` to skip connecting.
407+
connect (bool): Choose ``False`` to skip connecting to the controller.
408+
``connect()`` can be called later to connect.
409409
"""
410410

411411
def connect(self) -> MaybeAwaitable:

0 commit comments

Comments
 (0)