 """<STR_LIT>""" <EOL> import os <EOL> import sys <EOL> __all__ = [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ] <EOL> try : <EOL> from imp import cache_from_source <EOL> except ImportError : <EOL> def cache_from_source ( py_file , debug = __debug__ ) : <EOL> ext = debug and '<STR_LIT:c>' or '<STR_LIT:o>' <EOL> return py_file + ext <EOL> try : <EOL> callable = callable <EOL> except NameError : <EOL> from collections import Callable <EOL> def callable ( obj ) : <EOL> return isinstance ( obj , Callable ) <EOL> try : <EOL> fsencode = os . fsencode <EOL> except AttributeError : <EOL> def fsencode ( filename ) : <EOL> if isinstance ( filename , bytes ) : <EOL> return filename 
 elif isinstance ( filename , str ) : 
 """<STR_LIT>""" <EOL> import os <EOL> import sys <EOL> __all__ = [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ] <EOL> try : <EOL> from imp import cache_from_source <EOL> except ImportError : <EOL> def cache_from_source ( py_file , debug = __debug__ ) : <EOL> ext = debug and '<STR_LIT:c>' or '<STR_LIT:o>' <EOL> return py_file + ext <EOL> try : <EOL> callable = callable <EOL> except NameError : <EOL> from collections import Callable <EOL> def callable ( obj ) : <EOL> return isinstance ( obj , Callable ) <EOL> try : <EOL> fsencode = os . fsencode <EOL> except AttributeError : <EOL> def fsencode ( filename ) : <EOL> if isinstance ( filename , bytes ) : <EOL> return filename <EOL> elif isinstance ( filename , str ) : <EOL> return filename . encode ( sys . getfilesystemencoding ( ) ) <EOL> else : <EOL> raise TypeError ( "<STR_LIT>" % <EOL> type ( filename ) . __name__ ) </s>
