diff --git a/adafruit_ble/advertising/__init__.py b/adafruit_ble/advertising/__init__.py index bc2412d..8baf7ba 100644 --- a/adafruit_ble/advertising/__init__.py +++ b/adafruit_ble/advertising/__init__.py @@ -206,7 +206,8 @@ class Advertisement: """ match_prefixes = () - """For Advertisement, `matches` will always return True. Subclasses may override this value.""" + """For Advertisement, `Advertisement.matches` will always return ``True``. + Subclasses may override this value.""" # cached bytes of merged prefixes. _prefix_bytes = None diff --git a/adafruit_ble/advertising/standard.py b/adafruit_ble/advertising/standard.py index 2f11c6c..7192f95 100644 --- a/adafruit_ble/advertising/standard.py +++ b/adafruit_ble/advertising/standard.py @@ -207,7 +207,7 @@ class ManufacturerData(AdvertisingDataField): company_id and the data is structured like an advertisement with a configurable key format. The order of the serialized data is determined by the order that the `ManufacturerDataField` attributes are set in - this can be useful for - `match_prefixes` in an `Advertisement` sub-class.""" + `Advertisement.match_prefixes` in an `Advertisement` sub-class.""" def __init__( self, obj, *, advertising_data_type=0xFF, company_id, key_encoding="B"