None & Ellipsis

Fredrik Lundh effbot at
Mon Feb 21 19:40:55 CET 2000

Gerrit Holl <gerrit.holl at> wrote:
> For sequence unpacking:
> >>> t=('a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i')
> >>> t1, t2, None, t4, t5, None, None, t8, None = t
> >>> None
> 'i'
> I want to use None to say "ignore this".

how about using "none" instead?

or "nil", "dummy", "foo", "x", etc ;-)

(also see my other post)


More information about the Python-list mailing list