diff --git a/README.md b/README.md index a9f5136..77dd768 100644 --- a/README.md +++ b/README.md @@ -2982,7 +2982,7 @@ pg.draw.ellipse(, color, ) ``` ### Sound -``` +```python = pg.mixer.Sound('') # Loads a sound file. .play() # Starts playing the sound. ``` diff --git a/index.html b/index.html index e438dee..d8925c6 100644 --- a/index.html +++ b/index.html @@ -2531,7 +2531,7 @@ pg.draw.ellipse(<Surf>, color, <Rect>) <Surf> = <Font>.render(text, antialias, color, background=None) -

Sound

<Sound> = pg.mixer.Sound('<path>')              # Loads a sound file.
+

Sound

<Sound> = pg.mixer.Sound('<path>')              # Loads a sound file.
 <Sound>.play()                                  # Starts playing the sound.