Skip to content

Commit a88004e

Browse files
committed
Added type hints to rtc
1 parent 97d405e commit a88004e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared-bindings/rtc/__init__.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ mp_obj_t rtc_get_time_source_time(void) {
5050
return struct_time_from_tm(&tm);
5151
}
5252

53-
//| def set_time_source(rtc: Any) -> Any:
53+
//| def set_time_source(rtc: RTC) -> None:
5454
//| """Sets the RTC time source used by :func:`time.localtime`.
5555
//| The default is :class:`rtc.RTC`, but it's useful to use this to override the
5656
//| time source for testing purposes. For example::

0 commit comments

Comments
 (0)