diff --git a/lang/en/typeshed/stdlib/microbit/audio.pyi b/lang/en/typeshed/stdlib/microbit/audio.pyi index d537ff3..fe64689 100644 --- a/lang/en/typeshed/stdlib/microbit/audio.pyi +++ b/lang/en/typeshed/stdlib/microbit/audio.pyi @@ -184,7 +184,7 @@ class AudioFrame: """Get the sampling rate associated with the data in the ``AudioFrame`` instance (V2 only). - :returns: The configured sampling rate for this ``AudioFrame`` instance. + :return: The configured sampling rate for this ``AudioFrame`` instance. """ def copyfrom(self, other: AudioFrame) -> None: diff --git a/lang/en/typeshed/stdlib/microbit/microphone.pyi b/lang/en/typeshed/stdlib/microbit/microphone.pyi index 5dc255e..19cb2dd 100644 --- a/lang/en/typeshed/stdlib/microbit/microphone.pyi +++ b/lang/en/typeshed/stdlib/microbit/microphone.pyi @@ -85,7 +85,7 @@ def record(duration: int = 3000, rate: int = 7812) -> AudioFrame: :param duration: How long to record in milliseconds. :param rate: Number of samples to capture per second. - :returns: An ``AudioFrame`` with the sound samples. + :return: An ``AudioFrame`` with the sound samples. """ ... @@ -103,7 +103,7 @@ def record_into(buffer: AudioFrame, rate: int = 7812, wait: bool = True) -> None def is_recording() -> bool: """Checks whether the microphone is currently recording. - :returns: ``True`` if the microphone is currently recording sound, or + :return: ``True`` if the microphone is currently recording sound, or ``False`` otherwise. """ ...