def parse_end_tag(self):
        b = self.feed(self.r_end_tag)
        if b:
            tag_name = self.decode(b.group(1))
            #pop up tag
            for t in reversed(self.stack):
                self.stack.pop()
                if t is tag_name:
                    break
            self.top = self.attrs
            for t in self.stack:
                self.top = self.top[t]
            if not self.stack:
                return False #If finished
            else:
                return True
        else:
            raise ParseError('End tag {} is not correct'.format(self.text[self.pos:20]))
dataset/ETHPy150Open limodou/uliweb/uliweb/core/taglibs.py/ParseXML.parse_end_tag/operator `==` -> `is`