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/006888.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 15:34:38 +0300 (IDT)
On Tue, 18 Jul 2000, Gordon McMillan wrote:

[about zip(a, pad=None) ]
> > > Obviously: [(1, None), (2, None), (3, None)]
> > 
> > Why?
> 
> To be consistent.

But when there is only one list, all lists are of the same size, so the
pad argument is moot. (Consistent with all other cases where all lists are
the same size)

Or maybe we're talking about a different situation? Can you show a fake
Python session which demonstrates your point?

confused-ly y'rs, Z.
--
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