language design question

Bruno Desthuilliers onurb at xiludom.gro
Mon Jul 10 05:03:10 EDT 2006


guthrie wrote:
> Good point, thanks.
> 
> But if (as I proposed..!) the user interface is better if presented as a
> method. one could porovide convenience methods which would then
> interface to these underlying library functions; yes?
> 
Actually, and AFAIK, len(obj) = lambda obj : obj.__len__().

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