#NEWLINE# def entries( self , fileids , **kwargs ) : #NEWLINE# #INDENT# if ( 'key' in kwargs ) : #NEWLINE# #INDENT# key = kwargs [ 'key' ] #NEWLINE# del kwargs [ 'key' ] #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# key = 'lx' #NEWLINE# #UNINDENT# entries = [ ] #NEWLINE# for ( marker , contents ) in self . fields ( fileids , ** kwargs ) : #NEWLINE# #INDENT# if ( marker == key ) : #NEWLINE# #INDENT# entries . append ( ( contents , [ ] ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# entries [ ( - 1 ) ] [ ( - 1 ) ] . append ( ( fileids , contents ) ) #NEWLINE# #UNINDENT# except IndexError : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# return entries