A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-July/006505.html below:

[Python-Dev] Python Enhancement Proposals (PEPs)

[Python-Dev] Python Enhancement Proposals (PEPs) [Python-Dev] Python Enhancement Proposals (PEPs)Fredrik Lundh Fredrik Lundh" <effbot@telia.com
Fri, 14 Jul 2000 13:51:43 +0200
moshe wrote:
> >     # normal case
> >     for (x,) in zip([0, 1, 2]):
> >         ...
> >=20
> >     # special case
> >     for x in zip([0, 1, 2]):
> >         ...
>
> I'm sorry, I don't buy that.
>=20
> # "special case"
> for x in [0, 1, 2]:
> ...
>=20
> # "special case"
> do_something_that_requires_a_list_of_tuples(zip(*lists))

we sure have a major disconnect here -- wasn't the source
of this discussion the need to be able to loop over multiple
sequences in parallel?

isn't "for" what you'd usually use when looping over things?

</F>




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4