<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 13, 2013 at 8:03 PM, Greg Ewing <span dir="ltr"><<a href="mailto:greg.ewing@canterbury.ac.nz" target="_blank">greg.ewing@canterbury.ac.nz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":13x">I'd like to propose something a bit different:<br>
<br>
<br>
def name as expr(arg, ...)</div></blockquote></div><br>Note that in the current uses of "as" the assignment target is on the right:</div><div class="gmail_extra"><br></div><div class="gmail_extra" style>with expr as name:</div>
<div class="gmail_extra" style><br></div><div class="gmail_extra" style>import pkg.mod as name</div><div class="gmail_extra" style><br></div><div class="gmail_extra" style>I am not sure "def expr(...) as name" is any better than Greg's original proposal, though.</div>
</div>