Ian Bicking: the old part of his blog

My first bit of elementtree comment 000

Right, which is why I implemented a __unicode__ method like:

def __unicode__(self):
    return tostring(self, 'utf-8').decode('utf-8')

Doesn't that seem really weird, though?

Comment on Re: My first bit of ElementTree
by Ian Bicking