Skip to content

Commit 5ec5860

Browse files
committed
fix TimeAlarm signature
1 parent d4840cb commit 5ec5860

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared-bindings/alarm/time/TimeAlarm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ mp_obj_t MP_WEAK rtc_get_time_source_time(void) {
4545
//| """Trigger an alarm when the specified time is reached."""
4646
//|
4747
//| def __init__(
48-
//| self, monotonic_time: Optional[float] = None, epoch_time: Optional[int] = None
48+
//| self, *, monotonic_time: Optional[float] = None, epoch_time: Optional[int] = None
4949
//| ) -> None:
5050
//| """Create an alarm that will be triggered when `time.monotonic()` would equal
5151
//| ``monotonic_time``, or when `time.time()` would equal ``epoch_time``.

0 commit comments

Comments
 (0)