[Python-Dev] Python Enhancement Proposals (PEPs)
Moshe Zadka
Moshe Zadka <moshez@math.huji.ac.il>
Fri, 14 Jul 2000 00:56:53 +0300 (IDT)
On Thu, 13 Jul 2000, Fredrik Lundh wrote:
> as in
>
> # normal case
> for (x,) in zip([0, 1, 2]):
> ...
>
> vs.
>
> # special case
> for x in zip([0, 1, 2]):
> ...
>
I'm sorry, I don't buy that.
# "special case"
for x in [0, 1, 2]:
...
# "special case"
do_something_that_requires_a_list_of_tuples(zip(*lists))
--
Moshe Zadka <moshez@math.huji.ac.il>
There is no GOD but Python, and HTTP is its prophet.
http://advogato.org/person/moshez