<s> """<STR_LIT>""" <EOL> import sys <EOL> PY2 = sys . version_info [ <NUM_LIT:0> ] == <NUM_LIT:2> <EOL> _identity = lambda x : x <EOL> if PY2 : <EOL> unichr = unichr <EOL> text_type = unicode <EOL> range_type = xrange <EOL> string_types = ( str , unicode ) <EOL> integer_types = ( int , long ) <EOL> iterkeys = lambda d : d . iterkeys ( ) <EOL> itervalues = lambda d : d . itervalues ( ) <EOL> iteritems = lambda d : d . iteritems ( ) <EOL> from cStringIO import StringIO as BytesIO , StringIO <EOL> import Queue <EOL> NativeStringIO = BytesIO <EOL> exec ( '<STR_LIT>' ) <EOL> else : <EOL> unichr = chr <EOL> range_type = range <EOL> text_type = str <EOL> string_types = ( str , ) <EOL> integer_types = ( int , ) <EOL> iterkeys = lambda d : iter ( d . keys ( ) ) <EOL> itervalues = lambda d : iter ( d . values ( ) ) <EOL> iteritems = lambda d : iter ( d . items ( ) ) <EOL> from io import BytesIO , StringIO <EOL> from queue import Queue <EOL> NativeStringIO = StringIO <EOL> def reraise ( tp , value , tb = None ) : <EOL> if value . __traceback__ is not tb : <EOL> raise value . with_traceback ( tb ) <EOL> raise value </s>
