super() doesn't work in Py2. Yech.
This commit is contained in:
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):
|
||||
|
||||
Reference in new issue
Block a user