/span><span class="n">v</span><span class="p">):</span> <span class="k">return</span> <span class="n">i</span>
    <span class="k">return</span> <span class="o">-</span><span class="mi">1</span>
</div>
<div class="viewcode-block" id="Membered.rearrange"><a class="viewcode-back" href="../../spacegrids.html#spacegrids.abstract.Membered.rearrange">[docs]</a>  <span class="k">def</span> <span class="nf">rearrange</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span><span class="n">p