For review: PEP 308 - If-then-else expression

Andrew Dalke adalke at mindspring.com
Tue Feb 11 20:17:20 CET 2003


Greg Ewing:
> I'm not sure, but it may even be a theorem that any nested
> LC can be re-written as a non-nested LC by pulling all the
> loops out to the top level and combining the target expressions
> appropriately.

Interesting.  I see your point.  That might be what's helped kept
LCs from getting overly complex.

                    Andrew
                    dalke at dalkescientific.com






More information about the Python-list mailing list