from io import StringIO, BytesIO
# HTMLParser module
-
try:
from HTMLParser import HTMLParser
+ unescape = HTMLParser().unescape
except:
- from html.parser import HTMLParser
+ from html import unescape
-# raw_input and map functiion behaviour
+# raw_input and map function behaviour
if sys.version[0] == "3":
raw_input = input
lmap = lambda f, a: list(map(f, a))