Skip to content

Commit af55af2

Browse files
committed
Fix type in RTC documentation.
1 parent 241ef52 commit af55af2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared-bindings/rtc/RTC.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ STATIC mp_obj_t rtc_rtc_make_new(const mp_obj_type_t *type, size_t n_args, const
6565
//| import time
6666
//|
6767
//| r = rtc.RTC()
68-
//| r.datetime = rtctime.struct_time((2019, 5, 29, 15, 14, 15, 0, -1, -1))
68+
//| r.datetime = time.struct_time((2019, 5, 29, 15, 14, 15, 0, -1, -1))
6969
//|
7070
//|
7171
//| Once set, the RTC will automatically update this value as time passes. You can read this

0 commit comments

Comments
 (0)