18 Jul
2000
18 Jul
'00
12:34 p.m.
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