summaryrefslogtreecommitdiff
path: root/shared-bindings/_bleio/ScanResults.c
diff options
context:
space:
mode:
Diffstat (limited to 'shared-bindings/_bleio/ScanResults.c')
-rw-r--r--shared-bindings/_bleio/ScanResults.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/shared-bindings/_bleio/ScanResults.c b/shared-bindings/_bleio/ScanResults.c
index 6077dcbda..9dca90c38 100644
--- a/shared-bindings/_bleio/ScanResults.c
+++ b/shared-bindings/_bleio/ScanResults.c
@@ -46,15 +46,15 @@ STATIC mp_obj_t scanresults_iternext(mp_obj_t self_in) {
return MP_OBJ_STOP_ITERATION;
}
-//| def __init__(self, ):
+//| def __init__(self) -> None:
//| """Cannot be instantiated directly. Use `_bleio.Adapter.start_scan`."""
//| ...
//|
-//| def __iter__(self, ) -> Any:
+//| def __iter__(self) -> Iterator[ScanEntry]:
//| """Returns itself since it is the iterator."""
//| ...
//|
-//| def __next__(self, ) -> Any:
+//| def __next__(self) -> ScanEntry:
//| """Returns the next `_bleio.ScanEntry`. Blocks if none have been received and scanning is still
//| active. Raises `StopIteration` if scanning is finished and no other results are available."""
//| ...