Skip to content

Commit

Permalink
fix TimeAlarm signature
Browse files Browse the repository at this point in the history
  • Loading branch information
dhalbert committed Mar 14, 2023
1 parent d4840cb commit 5ec5860
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared-bindings/alarm/time/TimeAlarm.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ mp_obj_t MP_WEAK rtc_get_time_source_time(void) {
//| """Trigger an alarm when the specified time is reached."""
//|
//| def __init__(
//| self, monotonic_time: Optional[float] = None, epoch_time: Optional[int] = None
//| self, *, monotonic_time: Optional[float] = None, epoch_time: Optional[int] = None
//| ) -> None:
//| """Create an alarm that will be triggered when `time.monotonic()` would equal
//| ``monotonic_time``, or when `time.time()` would equal ``epoch_time``.
Expand Down

0 comments on commit 5ec5860

Please sign in to comment.