[Python-ideas] x )= f as shorthand for x=f(x)
Eduardo O. Padoan
eduardo.padoan at gmail.com
Fri Nov 9 16:22:30 CET 2007
On Nov 9, 2007 12:39 PM, Boris Borcic <bborcic at gmail.com> wrote:
>
> Title says it all. Got used to += et al. My mind often expects augmented
> assignment syntax to exist uniformly for whatever transform.
>
> If I am not mistaken, python syntax doesn't permit augmented assignment
> operators to sit between parens so that )= wouldn't risk confusing quick
> machine- or eye-scans to match parens.
>
Bizarre syntax. Close-parens should close something. Also, al it saves
is 1 char.
--
http://www.advogato.org/person/eopadoan/
Bookmarks: http://del.icio.us/edcrypt
More information about the Python-ideas
mailing list