From 5ff1eb7aaaec8816ac9b0451ea889a6b98013a3b Mon Sep 17 00:00:00 2001 From: Grace Date: Wed, 20 Mar 2024 12:53:43 +0000 Subject: [PATCH] Update to deep_sleep doc To match changes in docs: Update Power Mgm to change run_every behaviour #769 --- lang/ca/typeshed/stdlib/power.pyi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lang/ca/typeshed/stdlib/power.pyi b/lang/ca/typeshed/stdlib/power.pyi index 2be8b27..64be646 100644 --- a/lang/ca/typeshed/stdlib/power.pyi +++ b/lang/ca/typeshed/stdlib/power.pyi @@ -43,8 +43,9 @@ def deep_sleep( when the USB cable is inserted. When the ``run_every`` parameter is set to ``True`` (the default), any - function scheduled with ``run_every`` will momentarily wake up the board - to run and when it finishes it will go back to sleep. + function scheduled with :py:meth:`microbit.run_every` + will momentarily wake up the board to run and when it finishes it will go + back to sleep. :param ms: A time in milliseconds to wait before it wakes up. :param wake_on: A single instance or a tuple of pins and/or buttons to wake up the board, e.g. ``deep_sleep(wake_on=button_a)`` or ``deep_sleep(wake_on=(pin0, pin2, button_b))``.