<s> """<STR_LIT>""" <EOL> import sys <EOL> PY2 = sys . version_info [ <NUM_LIT:0> ] == <NUM_LIT:2> <EOL> if not PY2 : <EOL> text_type = str <EOL> string_types = ( str , ) <EOL> integer_types = ( int , ) <EOL> intern_method = sys . intern <EOL> iterkeys = lambda d : iter ( d . keys ( ) ) <EOL> itervalues = lambda d : iter ( d . values ( ) ) <EOL> iteritems = lambda d : iter ( d . items ( ) ) <EOL> else : <EOL> text_type = unicode <EOL> string_types = ( str , unicode ) <EOL> integer_types = ( int , long ) <EOL> intern_method = intern <EOL> iterkeys = lambda d : d . iterkeys ( ) <EOL> itervalues = lambda d : d . itervalues ( ) <EOL> iteritems = lambda d : d . iteritems ( ) </s>
