/span><span class="p">]</span> <span class="k">if</span> <span class="n">key</span> <span class="ow">not</span> <span class="ow">in</span> <span class="n">forbid</span>  <span class="p">}</span>

    <span class="c"># new kwargs to use in new object .__init__ construction</span>
    <span class="n">new_kwargs</span> <span class="o">=</span> <span class="n">copy</span><span class="o">.</span><span class="n">deepcopy</span><span class="p">({})</span>

    <span class="k">for</span> <span class="n">key</span> 