<float> = <TD> / <TD><spanclass="hljs-comment"># E.g. how many hours are in timedelta. Also //.</span>
<float> = <TD> / <TD><spanclass="hljs-comment"># E.g. how many hours are in TD. Also //, divmod().</span>
</code></pre></div>
<div><h2id="arguments"><ahref="#arguments"name="arguments">#</a>Arguments</h2><div><h3id="insidefunctioncall">Inside Function Call</h3><pre><codeclass="python language-python hljs">func(<positional_args>) <spanclass="hljs-comment"># func(0, 0)</span>
@ -2462,7 +2462,7 @@ rect = pg.Rect(<span class="hljs-number">240</span>, <span class="hljs-number">2
<pre><codeclass="python language-python hljs"><bool> = <Rect>.collidepoint((x, y)) <spanclass="hljs-comment"># Checks if rectangle contains the point.</span>
<bool> = <Rect>.colliderect(<Rect>) <spanclass="hljs-comment"># Checks if the two rectangles overlap.</span>
<int> = <Rect>.collidelist(<list_of_Rect>) <spanclass="hljs-comment"># Returns index of first colliding Rect or -1.</span>
<list> = <Rect>.collidelistall(<list_of_Rect>) <spanclass="hljs-comment"># Returns indexes of all colliding rectangles.</span>
<list> = <Rect>.collidelistall(<list_of_Rect>) <spanclass="hljs-comment"># Returns indices of all colliding rectangles.</span>
</code></pre>
<div><h3id="surface">Surface</h3><p><strong>Object for representing images.</strong></p><pre><codeclass="python language-python hljs"><Surf> = pg.display.set_mode((width, height)) <spanclass="hljs-comment"># Opens new window and returns its surface.</span>
<Surf> = pg.Surface((width, height)) <spanclass="hljs-comment"># New RGB surface. RGBA if `flags=pg.SRCALPHA`.</span>