None & Ellipsis

Gerrit Holl gerrit.holl at pobox.com
Fri Feb 18 16:51:10 EST 2000


Moshe Zadka wrote on 950911097:
> On Fri, 18 Feb 2000, Gerrit Holl wrote:
> 
> > Hello,
> > 
> > why aren't None and Ellipsis keywords?
> 
> Why should they be?

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

regards,
Gerrit.

-- 
cat: /home/gerrit/.signature: No such quote or joke




More information about the Python-list mailing list