Skip to content

Commit 3d960fb

Browse files
authored
Remove type from peer param
1 parent acf5cae commit 3d960fb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

adafruit_ble/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,8 +280,7 @@ def connect(self, peer, *, timeout=4.0):
280280
"""
281281
Initiates a `BLEConnection` to the peer that advertised the given advertisement.
282282
283-
:param Advertisement peer: An `Advertisement`, a subclass of `Advertisement`
284-
or `_bleio.Address`
283+
:param peer: An `Advertisement`, a subclass of `Advertisement` or `_bleio.Address`
285284
:param float timeout: how long to wait for a connection
286285
:return: the connection to the peer
287286
:rtype: BLEConnection

0 commit comments

Comments
 (0)