super() doesn't work in Py2. Yech.

This commit is contained in:
Matthias Urlichs committed 2019-02-04 13:58:56 +01:00
1 parent 4ebb5cf42d
commit 86664fdb39
1 file changed
+1 -1
@@ -506,7 +506,7 @@ def _strip_tags(text):
class TagStripper(HTMLParser):
def __init__(self, **kw):
super().__init__(**kw)
HTMLParser.__init__(self, **kw)
self._fed = []
def handle_data(self, data):