From 0fa21f1c7fc2f724a97cc0c31ff61d8eb0cf603e Mon Sep 17 00:00:00 2001 From: Josverl Date: Thu, 19 Dec 2024 22:02:47 +0000 Subject: [PATCH] Update docstubs stubs for preview --- .../micropython-v1_25_0_preview-docstubs/machine.pyi | 11 ++++++++++- .../micropython-v1_25_0_preview-docstubs/modules.json | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/stubs/micropython-v1_25_0_preview-docstubs/machine.pyi b/stubs/micropython-v1_25_0_preview-docstubs/machine.pyi index dc8019631..b2678c24e 100644 --- a/stubs/micropython-v1_25_0_preview-docstubs/machine.pyi +++ b/stubs/micropython-v1_25_0_preview-docstubs/machine.pyi @@ -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. """ ... diff --git a/stubs/micropython-v1_25_0_preview-docstubs/modules.json b/stubs/micropython-v1_25_0_preview-docstubs/modules.json index 04bd238e6..0ab34d111 100644 --- a/stubs/micropython-v1_25_0_preview-docstubs/modules.json +++ b/stubs/micropython-v1_25_0_preview-docstubs/modules.json @@ -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": {