">):</span>
            <span class="k">return</span> <span class="kc">False</span>

        <span class="c1"># Does not check parent on purpose! Equality does not require that the parent be</span>
        <span class="c1"># the same.</span>
        <span class="k">if</span> <span class="bp">self</span><span class="o">.</span><span class="n">index</span> <span class="o">!=</span> <span class="n">other</span><span class="o">.</span><span class="n">index</span> <span class="ow">or</span> <span class="bp">self