For review: PEP 308 - If-then-else expression
Andrew Koenig
ark at research.att.com
Fri Feb 7 17:51:50 EST 2003
More information about the Python-list mailing list
Fri Feb 7 17:51:50 EST 2003
- Previous message (by thread): For review: PEP 308 - If-then-else expression
- Next message (by thread): For review: PEP 308 - If-then-else expression
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Jamie> Ah, of course, an expression returns a value (duh). I see the Jamie> motivation better now. Still, I can imagine that it would get Jamie> (ab)used in contexts where the result was ignored, just as an Jamie> alternative conditional syntax. I guess it's not much different from abusing lambda expressions in contexts where ordinary functions would be better. -- Andrew Koenig, ark at research.att.com, http://www.research.att.com/info/ark
- Previous message (by thread): For review: PEP 308 - If-then-else expression
- Next message (by thread): For review: PEP 308 - If-then-else expression
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list