def handle_starttag(self, tag, attrs):   # <-- attrs here is a
list
        if 'a' != tag:
            self.stack.append(self.__html_start_tag(tag, attrs))    #
<-- attrs here is still a list
            return
        attrs = dict(attrs)    # <-- now attrs is a dictionary
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to