Skip to content

Commit

Permalink
Update docstubs stubs for preview
Browse files Browse the repository at this point in the history
  • Loading branch information
Josverl committed Dec 19, 2024
1 parent f946968 commit 0fa21f1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion stubs/micropython-v1_25_0_preview-docstubs/machine.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -1198,13 +1198,22 @@ class RTC:
"""
Initialise the RTC. Datetime is a tuple of the form:
``(year, month, day[, hour[, minute[, second[, microsecond[, tzinfo]]]]])``
``(year, month, day, hour, minute, second, microsecond, tzinfo)``
All eight arguments must be present. The ``microsecond`` and ``tzinfo``
values are currently ignored but might be used in the future.
Availability: CC3200, ESP32, MIMXRT, SAMD. The rtc.init() method on
the stm32 and renesas-ra ports just (re-)starts the RTC and does not
accept arguments.
"""
...

def now(self) -> Tuple:
"""
Get get the current datetime tuple.
Availability: WiPy.
"""
...

Expand Down
2 changes: 1 addition & 1 deletion stubs/micropython-v1_25_0_preview-docstubs/modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"firmware": "micropython-v1_25_0_preview",
"nodename": "micropython",
"version": "v1.25.0-preview",
"release": "v1.25.0-preview-130-g7924b3105",
"release": "v1.25.0-preview-143-g39538e4c9",
"sysname": "micropython"
},
"stubber": {
Expand Down

0 comments on commit 0fa21f1

Please sign in to comment.