Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e0378bf

Browse files
committedMar 13, 2020
Pygame
1 parent 82a850c commit e0378bf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2982,7 +2982,7 @@ pg.draw.ellipse(<Surf>, color, <Rect>)
29822982
```
29832983

29842984
### Sound
2985-
```
2985+
```python
29862986
<Sound> = pg.mixer.Sound('<path>') # Loads a sound file.
29872987
<Sound>.play() # Starts playing the sound.
29882988
```

‎index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2531,7 +2531,7 @@
25312531
&lt;Surf&gt; = &lt;Font&gt;.render(text, antialias, color, background=<span class="hljs-keyword">None</span>)
25322532
</code></pre></div>
25332533

2534-
<div><h3 id="sound">Sound</h3><pre><code class="python hljs">&lt;Sound&gt; = pg.mixer.Sound(<span class="hljs-string">'&lt;path&gt;'</span>) <span class="hljs-comment"># Loads a sound file.</span>
2534+
<div><h3 id="sound">Sound</h3><pre><code class="python language-python hljs">&lt;Sound&gt; = pg.mixer.Sound(<span class="hljs-string">'&lt;path&gt;'</span>) <span class="hljs-comment"># Loads a sound file.</span>
25352535
&lt;Sound&gt;.play() <span class="hljs-comment"># Starts playing the sound.</span>
25362536
</code></pre></div>
25372537

0 commit comments

Comments
 (0)
Failed to load comments.