Skip to content

Commit

Permalink
Make phrasing cope if example is reordered.
Browse files Browse the repository at this point in the history
  • Loading branch information
microbit-matt-hillsdon committed May 3, 2022
1 parent fbcfcff commit 0ec829d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typeshed/stdlib/microbit/microphone.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 0ec829d

Please sign in to comment.