[prev in list] [next in list] [prev in thread] [next in thread]
List: python-list
Subject: Re: Use cases for del
From: Stian =?iso-8859-1?Q?S=F8iland?= <stian () soiland ! no>
Date: 2005-07-06 18:49:19
Message-ID: 20050706184919.GV12095 () itea ! ntnu ! no
[Download RAW message or body]
On 2005-07-06 18:10:16, Ron Adam wrote:
> But what if assigning a name to None actually unbound it's name?
> And accessing an undefined name returned None instead of a NameError?
Yes, and we can make
someunknownlist[] = 2
magically do someunknownlist = list() and append 2.
Please.
--
Stian Søiland Work toward win-win situation. Win-lose
Trondheim, Norway is where you win and the other lose.
http://soiland.no/ Lose-lose and lose-win are left as an
exercise to the reader. [Limoncelli/Hogan]
--
http://mail.python.org/mailman/listinfo/python-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic