<s> import sys <EOL> __all__ = ( <EOL> '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> ) <EOL> if sys . version_info [ <NUM_LIT:0> ] >= <NUM_LIT:3> : <EOL> text_type = str <EOL> string_types = ( str , ) <EOL> izip = zip <EOL> def iteritems ( o ) : <EOL> return o . items ( ) <EOL> def itervalues ( o ) : <EOL> return o . values ( ) <EOL> else : <EOL> text_type = unicode <EOL> string_types = ( basestring , ) <EOL> from itertools import izip <EOL> def iteritems ( o ) : <EOL> return o . iteritems ( ) <EOL> def itervalues ( o ) : <EOL> return o . itervalues ( ) <EOL> def with_metaclass ( meta , base = object ) : <EOL> return meta ( "<STR_LIT>" , ( base , ) , { } ) </s>
