span class="p">(</span><span class="n">line</span><span class="p">)</span>
                <span class="n">bit_pos_to_xy_str</span> <span class="o">=</span>\
                    <span class="p">{</span><span class="n">bit</span><span class="p">:</span> <span class="n">action</span> <span class="k">for</span> <span class="n">bit</span><span class="p">,</span> <span class="n">action</span> <span class="ow">in</span> <span class="n">term</span> <span class="k">if</span> <span class="n">action</span> <span clas