##// END OF EJS Templates
Import HTMLParser from html.parser for Python 3.x
Jonathan Frederic -
Show More
@@ -11,6 +11,10 b''
11 #-----------------------------------------------------------------------------
11 #-----------------------------------------------------------------------------
12 # Imports
12 # Imports
13 #-----------------------------------------------------------------------------
13 #-----------------------------------------------------------------------------
14 from IPython.utils.py3compat import PY3
15 if PY3:
16 from html.parser import HTMLParser
17 else:
14 from HTMLParser import HTMLParser
18 from HTMLParser import HTMLParser
15
19
16 #-----------------------------------------------------------------------------
20 #-----------------------------------------------------------------------------
General Comments 0
You need to be logged in to leave comments. Login now