LWN.net Logo

No need of new syntax

No need of new syntax

Posted Mar 13, 2003 18:11 UTC (Thu) by petebull (guest, #7857)
In reply to: No need of new syntax by sokol
Parent article: Choosing a ternary operator for Python

And the operator is allowed as an lvalue as in:

(a ? b : c) = 5


(Log in to post comments)

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds