Skip to content

Commit 71ef507

Browse files
committed
fix ScanEntry.matches
1 parent 88e8a3c commit 71ef507

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared-bindings/_bleio/ScanEntry.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
//| """Cannot be instantiated directly. Use `_bleio.Adapter.start_scan`."""
2626
//| ...
2727
//|
28-
//| def matches(self, prefixes: ScanEntry, *, match_all: bool = True) -> bool:
28+
//| def matches(self, prefixes: ReadableBuffer, *, match_all: bool = True) -> bool:
2929
//| """Returns True if the ScanEntry matches all prefixes when ``match_all`` is True. This is stricter
3030
//| than the scan filtering which accepts any advertisements that match any of the prefixes
3131
//| where ``match_all`` is False."""

0 commit comments

Comments
 (0)