1 parent 97d405e commit a88004eCopy full SHA for a88004e
1 file changed
shared-bindings/rtc/__init__.c
@@ -50,7 +50,7 @@ mp_obj_t rtc_get_time_source_time(void) {
50
return struct_time_from_tm(&tm);
51
}
52
53
-//| def set_time_source(rtc: Any) -> Any:
+//| def set_time_source(rtc: RTC) -> None:
54
//| """Sets the RTC time source used by :func:`time.localtime`.
55
//| The default is :class:`rtc.RTC`, but it's useful to use this to override the
56
//| time source for testing purposes. For example::
0 commit comments