File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ async def start(self) -> None:
156156 BleakBluetoothNotAvailableError:
157157 if Bluetooth is not currently available
158158
159- .. versionchanged: unreleased
159+ .. versionchanged:: unreleased
160160 Now raises :class:`BleakBluetoothNotAvailableError` instead of :class:`BleakError`
161161 when Bluetooth is not currently available.
162162 """
Original file line number Diff line number Diff line change @@ -375,7 +375,7 @@ def get_default_adapter(self) -> str:
375375 BleakBluetoothNotAvailableError:
376376 if there are no Bluetooth Low Energy adapters or if none of the adapters are powered
377377
378- .. versionchanged: unreleased
378+ .. versionchanged:: unreleased
379379 Now raises :class:`BleakBluetoothNotAvailableError` instead of :class:`BleakError`.
380380 """
381381 if not any (self ._adapters ):
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ class BleakBluetoothNotAvailableReason(enum.Enum):
1414 """
1515 Reasons for Bluetooth not being available.
1616
17- ... versionadded: unreleased
17+ .. versionadded: : unreleased
1818 """
1919
2020 NO_BLUETOOTH = enum .auto ()
@@ -52,7 +52,7 @@ class BleakBluetoothNotAvailableError(BleakError):
5252 """
5353 Exception which is raised if the Bluetooth access is not available for some reason.
5454
55- .. versionadded: unreleased
55+ .. versionadded:: unreleased
5656 """
5757
5858 def __init__ (self , msg : str , reason : BleakBluetoothNotAvailableReason ) -> None :
@@ -70,7 +70,7 @@ class BleakCharacteristicNotFoundError(BleakError):
7070 """
7171 Exception which is raised if a device does not support a characteristic.
7272
73- .. versionadded: 0.22
73+ .. versionadded:: 0.22
7474 """
7575
7676 char_specifier : Union [int , str , uuid .UUID ]
@@ -89,7 +89,7 @@ class BleakDeviceNotFoundError(BleakError):
8989 Exception which is raised if a device can not be found by ``connect``, ``pair`` and ``unpair``.
9090 This is the case if the OS Bluetooth stack has never seen this device or it was removed and forgotten.
9191
92- .. versionadded: 0.19
92+ .. versionadded:: 0.19
9393 """
9494
9595 identifier : str
You can’t perform that action at this time.
0 commit comments