<conn>.execute(<spanclass="hljs-string">'<query>'</span>) <spanclass="hljs-comment"># depending on whether any exception occurred.</span>
</code></pre></div>
<div><h3id="placeholders">Placeholders</h3><pre><codeclass="python language-python hljs"><conn>.execute(<spanclass="hljs-string">'<query>'</span>, <list/tuple>) <spanclass="hljs-comment"># Replaces '?'s in query with values.</span>
<conn>.execute(<spanclass="hljs-string">'<query>'</span>, <dict/namedtuple>) <spanclass="hljs-comment"># Replaces ':<key>'s with values.</span>
<div><h3id="placeholders">Placeholders</h3><pre><codeclass="python language-python hljs"><conn>.execute(<spanclass="hljs-string">'<query>'</span>, <list/tuple>) <spanclass="hljs-comment"># Replaces every question mark with an item.</span>
<conn>.execute(<spanclass="hljs-string">'<query>'</span>, <dict/namedtuple>) <spanclass="hljs-comment"># Replaces every :<key> with value.</span>
<Surf> = <Font>.render(text, antialias, color) <spanclass="hljs-comment"># Background color can be specified at the end.</span>
<Surf> = <Font>.render(text, antialias, color) <spanclass="hljs-comment"># Accepts background color as fourth argument.</span>
</code></pre>
<div><h3id="sound">Sound</h3><pre><codeclass="python language-python hljs"><Sound> = pg.mixer.Sound(<path/file/bytes>) <spanclass="hljs-comment"># WAV file or bytes/array of signed shorts.</span>
<Sound>.play/stop() <spanclass="hljs-comment"># Also set_volume(<float>) and fadeout(msec).</span>
@ -2940,7 +2940,7 @@ $ deactivate <span class="hljs-comment"># Deactivates the active