Skip to content

Commit e0a4593

Browse files
Revert "Update to deep_sleep doc"
This reverts commit 5ff1eb7. Accidentally changed lang/ca/typeshed (Welsh one) instead of en.
1 parent 9704523 commit e0a4593

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lang/ca/typeshed/stdlib/power.pyi

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,8 @@ def deep_sleep(
4343
when the USB cable is inserted.
4444
4545
When the ``run_every`` parameter is set to ``True`` (the default), any
46-
function scheduled with :py:meth:`microbit.run_every<microbit.run_every>`
47-
will momentarily wake up the board to run and when it finishes it will go
48-
back to sleep.
46+
function scheduled with ``run_every`` will momentarily wake up the board
47+
to run and when it finishes it will go back to sleep.
4948
5049
:param ms: A time in milliseconds to wait before it wakes up.
5150
: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))``.

0 commit comments

Comments
 (0)