</span><span class="n">f</span> <span class="o">=</span> <span class="k">lambda</span> <span class="n">x</span><span class="p">:</span> <span class="mi">2</span><span class="o">*</span><span class="n">x</span>
</pre></div>
</div>
<p>The first form means that the name of the resulting function object is specifically ‘f’ instead of the generic ‘&lt;lambda&gt;’.
This is more useful for tracebacks and string representations in general.
The use of the assignment statement eliminates the sole benefit a la