>]</span> <span class="o">=</span> <span class="kc">None</span>

        <span class="c1"># if TimeRange passed </span>
        <span class="k">if</span> <span class="nb">isinstance</span><span class="p">(</span><span class="n">a</span><span class="p">,</span> <span class="n">TimeRange</span><span class="p">):</span>
            <span class="bp">self</span><span class="o">.</span><span class="vm">__dict__</span> <span class="o">=</span> <span class="n">a</span><span class="o">.</span><span class="vm">__dict