lass="p">:</span> <span class="n">val</span><span class="o">.</span><span class="n">swap</span><span class="p">}</span>

        <span class="k">elif</span> <span class="nb">isinstance</span><span class="p">(</span><span class="n">val</span><span class="p">,</span> <span class="n">psutil</span><span class="o">.</span><span class="n">_common</span><span class="o">.</span><span class="n">pgids</span><span class="p">)</span> <span class="ow">or</span> <span class="nb">isinstance</span><span class="p">(</span><