ass="p">:</span> <span class="p">[],</span>
                <span class="p">}</span>

            <span class="c1"># Iterate over color-memberlist pairs</span>
            <span class="k">for</span> <span class="n">group</span><span class="p">,</span> <span class="n">color_id</span> <span class="ow">in</span> <span class="n">group_iter</span><span class="p">:</span>
                <span class="k">if</span> <span class="ow">not</span> <span class="n">group</span> <span class="ow">or</span> <span class="n">c