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

[Python-Dev] PEP 201 - Parallel iteration

[Python-Dev] PEP 201 - Parallel iterationMoshe Zadka Moshe Zadka <moshez@math.huji.ac.il>
Tue, 18 Jul 2000 09:31:52 +0300 (IDT)
(assume a = [1, 2, 3])

On Mon, 17 Jul 2000, Gordon McMillan wrote:

> How about a fourth: zip(a) is the same as zip(a, []) ?

Huh???????????????????

> Look at it this way: what should zip(a, pad=None) return?

[(1,), (2,), (3,)], of course

> Obviously: [(1, None), (2, None), (3, None)]

Why?


--
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