From 0ec829d15040e1b2cf8bbae6da0c315808c06743 Mon Sep 17 00:00:00 2001 From: Matt Hillsdon Date: Tue, 3 May 2022 10:01:59 +0100 Subject: [PATCH] Make phrasing cope if example is reordered. --- typeshed/stdlib/microbit/microphone.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typeshed/stdlib/microbit/microphone.pyi b/typeshed/stdlib/microbit/microphone.pyi index a33049b..68e8f3a 100644 --- a/typeshed/stdlib/microbit/microphone.pyi +++ b/typeshed/stdlib/microbit/microphone.pyi @@ -53,7 +53,7 @@ def set_threshold(event: SoundEvent, value: int) -> None: Example: ``microphone.set_threshold(SoundEvent.LOUD, 250)`` - This example only trigger if the threshold is very loud (>= 250). + A high threshold means the event will only trigger if the sound is very loud (>= 250 in the example). :param event: A sound event, such as ``SoundEvent.LOUD`` or ``SoundEvent.QUIET``. :param value: The threshold level in the range 0-255.