pybricks/messaging.py
def wait_for_connection(self, count=1):
        """Waits for a :class:`BluetoothMailboxClient` on a remote device to
        connect.

        Arguments:
            count (int):
                The number of remote connections to wait for.

        Raises:
            OSError:
                There was a problem establishing the connection.
        """
Waits for a :class:`BluetoothMailboxClient` on a remote device to
        connect.

        Arguments:
            count (int):
                The number of remote connections to wait for.

        Raises:
            OSError:
                There was a problem establishing the connection.
        
Waits for a :class:`BluetoothMailboxClient` on a remote device to
connect.
Waits for a : class : ` BluetoothMailboxClient ` on a remote device to connect .
def wait_for_connection(self, count=1):
def wait_for_connection ( self , count = 1 ) :
Waits for a :class:`BluetoothMailboxClient` on a remote device to
connect.
Waits for a : class : ` BluetoothMailboxClient ` on a remote device to connect .
"""Waits for a :class:`BluetoothMailboxClient` on a remote device to
        connect.

        Arguments:
            count (int):
                The number of remote connections to wait for.

        Raises:
            OSError:
                There was a problem establishing the connection.
        """
There was a problem establishing the connection.
There was a problem establishing the connection .
OSError
self
count
The number of remote connections to wait for.
The number of remote connections to wait for .