<s> import sys <EOL> PY2 = sys . version_info [ <NUM_LIT:0> ] == <NUM_LIT:2> <EOL> PY3 = sys . version_info [ <NUM_LIT:0> ] == <NUM_LIT:3> <EOL> if PY2 : <EOL> textclass = unicode <EOL> from HTMLParser import HTMLParser , HTMLParseError <EOL> from itertools import izip_longest <EOL> else : <EOL> textclass = str <EOL> from html . parser import HTMLParser , HTMLParseError <EOL> from itertools import zip_longest as izip_longest </s>
