Question about isinstance()

bruno at modulix onurb at xiludom.gro
Fri Jan 27 04:22:27 EST 2006


Mr.Rech wrote:
> All in all it seems that the implementation that uses isinstance() is
> better in this case...

You could also use something like Zope's Interfaces... But I'm not sure
it's worth the extra complexity.

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