in libmozdata/wiki_parser.py [0:0]
def handle_endtag(self, tag):
if self.table is not None:
if tag == "table":
self.tables.append(self.table)
self.table = None
if self.table_counter == max(self.tables_number):
raise StopIteration()
elif tag == "td":
self.table.set(self.td)
self.td = None
elif tag == "th":
self.table.set(self.th)
self.th = None
if tag == "html":
raise StopIteration()