Skip to content

Commit adbc2c0

Browse files
Fix transposed docstrings. (#60)
Docs came from here, where they're the correct way around so my mistake: https://microbit-micropython.readthedocs.io/en/v2-docs/microphone.html?highlight=SoundEvent#sound-events See microbit-foundation/python-editor-v3#864
1 parent f210d25 commit adbc2c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lang/en/typeshed/stdlib/microbit/__init__.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -754,10 +754,10 @@ class Image:
754754

755755
class SoundEvent:
756756
LOUD: SoundEvent
757-
"""Represents the transition of sound events, from ``loud`` to ``quiet`` like speaking or background music."""
757+
"""Represents the transition of sound events, from ``quiet`` to ``loud`` like clapping or shouting."""
758758

759759
QUIET: SoundEvent
760-
"""Represents the transition of sound events, from ``quiet`` to ``loud`` like clapping or shouting."""
760+
"""Represents the transition of sound events, from ``loud`` to ``quiet`` like speaking or background music."""
761761

762762
class Sound:
763763
"""The built-in sounds can be called using ``audio.play(Sound.NAME)``."""

0 commit comments

Comments
 (0)