diff options
| author | dherrada <dylan.herrada@adafruit.com> | 2020-07-03 15:27:11 -0400 |
|---|---|---|
| committer | dherrada <dylan.herrada@adafruit.com> | 2020-07-03 15:27:11 -0400 |
| commit | a88004e509985da055a5837a42e42a37e5cfd371 (patch) | |
| tree | ea92b0906fe28b17739242523ff8730b65ab554c | |
| parent | 97d405e1094ac4d9e34ca155ecebf45ff1ad0f40 (diff) | |
Added type hints to rtc
| -rw-r--r-- | shared-bindings/rtc/__init__.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-bindings/rtc/__init__.c b/shared-bindings/rtc/__init__.c index b204d511c..02b9beba6 100644 --- a/shared-bindings/rtc/__init__.c +++ b/shared-bindings/rtc/__init__.c @@ -50,7 +50,7 @@ mp_obj_t rtc_get_time_source_time(void) { return struct_time_from_tm(&tm); } -//| def set_time_source(rtc: Any) -> Any: +//| def set_time_source(rtc: RTC) -> None: //| """Sets the RTC time source used by :func:`time.localtime`. //| The default is :class:`rtc.RTC`, but it's useful to use this to override the //| time source for testing purposes. For example:: |
