Skip to content

Commit a6c30b2

Browse files
authored
Fix typos in Sound API documentation #2769 (#2772)
1 parent e00e5e7 commit a6c30b2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

arcade/sound.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def play(
9494
.. important:: A :py:class:`Sound` with ``streaming=True`` loses features!
9595
9696
Neither ``loop`` nor simultaneous playbacks will work. See
97-
:py;class:`Sound` and :ref:`sound-loading-modes`.
97+
:py:class:`Sound` and :ref:`sound-loading-modes`.
9898
9999
Args:
100100
volume: Volume (``0.0`` is silent, ``1.0`` is loudest).
@@ -220,7 +220,7 @@ def load_sound(path: str | Path, streaming: bool = False) -> Sound:
220220
.. important:: A :py:class:`Sound` with ``streaming=True`` loses features!
221221
222222
Neither ``loop`` nor simultaneous playbacks will work. See
223-
:py;class:`Sound` and :ref:`sound-loading-modes`.
223+
:py:class:`Sound` and :ref:`sound-loading-modes`.
224224
225225
Args:
226226
path: a path which may be prefixed with a
@@ -230,7 +230,7 @@ def load_sound(path: str | Path, streaming: bool = False) -> Sound:
230230
save memory, ``False`` for short sounds to speed playback.
231231
232232
Returns:
233-
A :ref:playable <sound-basics-playing>` instance of a
233+
A :ref:`playable <sound-basics-playing>` instance of a
234234
:py:class:`Sound` object.
235235
"""
236236
# Initialize the audio driver if it hasn't been already.
@@ -264,7 +264,7 @@ def play_sound(
264264
.. important:: A :py:class:`Sound` with ``streaming=True`` loses features!
265265
266266
Neither ``loop`` nor simultaneous playbacks will work. See
267-
:py;class:`Sound` and :ref:`sound-loading-modes`.
267+
:py:class:`Sound` and :ref:`sound-loading-modes`.
268268
269269
The output and return value depend on whether playback succeeded:
270270
.. # Note: substitutions don't really work inside tables, so the

0 commit comments

Comments
 (0)