Skip to content

Commit fb8ca9b

Browse files
committed
Address review: update BLERadio() docstring.
1 parent 0a2adfd commit fb8ca9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_ble/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@ class BLERadio:
156156
It uses this library's `Advertisement` classes and the `BLEConnection` class."""
157157

158158
def __init__(self, adapter=None):
159-
"""If no adapter is supplied, use the built-in _bleio.adapter, if available.
160-
If not, see if there's an onboard HCI adapter available that could be used.
159+
"""If no adapter is supplied, use the built-in `_bleio.adapter`.
160+
If no built-in adapter is available, raise `RuntimeError`.
161161
"""
162162
if adapter is None and _bleio.adapter is None:
163163
raise RuntimeError("No adapter available")

0 commit comments

Comments
 (0)