<div dir="ltr"><br>On Thu, Aug 1, 2013 at 8:44 AM, Nick Coghlan <<a href="mailto:ncoghlan@gmail.com">ncoghlan@gmail.com</a>> wrote:<br>><br>> 9. Explicit guideline not to assign lambdas to names (use def, that's<br>
> what it's for)<br><br><br>Would you consider changing the formatting in the recommended example from<br><br>def f(x): return 2*x<br><br>to<br><br>def f(x):<br> return 2*x<div><br></div><div>?<br><br>What is the modern view on single-line def? The "Other Recommendations" section allows but discourages single-line if/for/while, but is silent about def.<br>
</div></div>