None & Ellipsis

Michael Hudson mwh21 at cam.ac.uk
Mon Feb 21 12:26:19 EST 2000


Gerrit Holl <gerrit.holl at pobox.com> writes:

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

I generally use `_' for this.

prolog-ly y'rs
Michael

-- 
very few people approach me in real life and insist on proving they are
drooling idiots.                         -- Erik Naggum, comp.lang.lisp



More information about the Python-list mailing list