27 May
2005
27 May
'05
2:40 p.m.
On Fri, May 27, 2005 at 01:58:44PM +0200, Florent Guillaume wrote:
And all empty tuples are equal.
Not just equal, but all empty tuples are *identical*, so () is () == True. I had no idea this was so :-\
In python 2.3, the idiom most commonly found is to use marker = object().
Thanks for that. -- Paul Winkler http://www.slinkp.com