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