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/006446.html below:

[Python-Dev] Python Enhancement Proposals (PEPs)

[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




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