ode</span><span class="o">.</span><span
            class="n">left</span><span class="p">:</span>
            <span class="k">if</span> <span class="n">node</span><span class="o">.</span><span
            class="n">parent</span><span class="p">:</span>
                <span class="n">node</span><span class="o">.</span><span class="n">right</span><span
            class="o">.</span><span class="n">parent</span> <span class="o">=</span> <span class="n">node</span><span
            class="o">.</span><span clas