language design question

Bruno Desthuilliers onurb at xiludom.gro
Mon Jul 10 11:27:19 EDT 2006


Piet van Oostrum wrote:
>>>>>>Bruno Desthuilliers <onurb at xiludom.gro> (BD) wrote:
> 
> 
>>BD> Actually, and AFAIK, len(obj) = lambda obj : obj.__len__().
> 
> 
> You mean: len = lambda obj : obj.__len__().

yes, of course - not enough caffein, I guess...

Thanks
-- 
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'onurb at xiludom.gro'.split('@')])"



More information about the Python-list mailing list