#NEWLINE# @ open_file ( 0 , mode = 'rt' ) #NEWLINE# def read_sparse6_list( path ) : #NEWLINE# #INDENT# 'Read undirected graphs in sparse6 format from path.\n\n    Returns a list of MultiGraphs, one for each line in file.' #NEWLINE# glist = [ ] #NEWLINE# for line in path : #NEWLINE# #INDENT# line = line . strip ( ) #NEWLINE# if ( not len ( line ) ) : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# glist . append ( parse_sparse6 ( line ) ) #NEWLINE# #UNINDENT# return glist