def get_suffixes():
 extensions = [(s, 'rb', C_EXTENSION) for s in machinery.EXTENSION_SUFFIXES]
 source = [(s, 'r', PY_SOURCE) for s in machinery.SOURCE_SUFFIXES]
 bytecode = [(s, 'rb', PY_COMPILED) for s in machinery.BYTECODE_SUFFIXES]
 return ((extensions + source) + bytecode)

def get_suffixes ( ) : extensions = [ ( s , 'rb' , C_EXTENSION ) for s in machinery . EXTENSION_SUFFIXES ] source = [ ( s , 'r' , PY_SOURCE ) for s in machinery . SOURCE_SUFFIXES ] bytecode = [ ( s , 'rb' , PY_COMPILED ) for s in machinery . BYTECODE_SUFFIXES ] return ( ( extensions + source ) + bytecode )
return a list that describes the files that find_module() looks for .