Python style.

Markus Stenberg mstenber at cc.Helsinki.FI
Wed May 10 10:25:42 EDT 2000

"Fredrik Lundh" <effbot at> writes:

> note that future Python versions may also support
> something like:
>     for item1 in list1; item2 in list2:
>         ...

Ugh.. that looks bit obscure - why sudden use of ; for example?

I'd like something like

for item1, item2 in list1, list2:


That'd be consistent with current tuple action as well, and just some
appearance-related glue compared to the normal map(None, list1, list2)

> but that's another story.


> </F>

If you sat a monkey down in front of a keyboard, the first thing typed
would be a UNIX command.
        -- Bill Lye

More information about the Python-list mailing list