lass="s1">&#39;D&#39;</span><span class="p">)</span>
<span class="gp">&gt;&gt;&gt; </span><span class="n">param</span>
<span class="go">value: &#39;D&#39;</span>
<span class="gp">&gt;&gt;&gt; </span><span class="n">string_param_coerce_to</span><span class="p">(</span><span class="n">spec</span><span class="p">,</span> <span class="n">param</span><span class="p">)</span>
<span class="go">True</span>
<span class="gp">&gt;&gt;&gt; </span><span class="n">param</span>
<span class="go">value: &#39;B&#39;</span>
<