None & Ellipsis
Moshe Zadka
moshez at math.huji.ac.il
Sat Feb 19 06:30:48 EST 2000
On Sat, 19 Feb 2000, Gerrit Holl wrote:
> > > >>> t=('a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i')
> > > >>> t1, t2, None, t4, t5, None, None, t8, None = t
> > > >>> None
> > > 'i'
> >
> > >>> del None
> > >>> None
> > >>>
>
> Ah...! Is this behaviour documented!
Yes. It's called the "Python 3 namespace rule".
--
Moshe Zadka <mzadka at geocities.com>.
INTERNET: Learn what you know.
Share what you don't.
More information about the Python-list
mailing list