def handle_starttag(self, tag, attrs):
        if self.__debug:
            print '\n>handle_starttag', tag
            print self.tagstack
        self.close_para_tags(tag)
        self.tagstack.append(tag)
        d = {}
        for k, v in attrs:
            d[string.lower(k)] = v
        self.emitStartElement(tag, d)
        if EMPTY_HTML_TAGS in tag:
            self.implied_endtag(tag, -1)
dataset/ETHPy150Open wesabe/fixofx/3rdparty/wsgi_intercept/webunit_intercept/SimpleDOM.py/SimpleDOMParser.handle_starttag/swapped operands of `in`