Python style.
Markus Stenberg
mstenber at cc.Helsinki.FI
Wed May 10 10:25:42 EDT 2000
"Fredrik Lundh" <effbot at telia.com> writes:
<snip>
> 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:
(Oo.)
That'd be consistent with current tuple action as well, and just some
appearance-related glue compared to the normal map(None, list1, list2)
case.
> but that's another story.
-Markus
> </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