From 3d960fb22042e3ab977b0f48fe94f311175fa69a Mon Sep 17 00:00:00 2001 From: Scott Shawcroft Date: Mon, 13 Sep 2021 10:50:01 -0700 Subject: [PATCH] Remove type from peer param --- adafruit_ble/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/adafruit_ble/__init__.py b/adafruit_ble/__init__.py index 30f3ef4..d6eee48 100755 --- a/adafruit_ble/__init__.py +++ b/adafruit_ble/__init__.py @@ -280,8 +280,7 @@ def connect(self, peer, *, timeout=4.0): """ Initiates a `BLEConnection` to the peer that advertised the given advertisement. - :param Advertisement peer: An `Advertisement`, a subclass of `Advertisement` - or `_bleio.Address` + :param peer: An `Advertisement`, a subclass of `Advertisement` or `_bleio.Address` :param float timeout: how long to wait for a connection :return: the connection to the peer :rtype: BLEConnection