#NEWLINE# @ property #NEWLINE# def layered( self ) : #NEWLINE# #INDENT# 'Yield list of [[(name, image), ...], [(name, image), ...], ...]' #NEWLINE# result = [ ] #NEWLINE# for layer in self . _layered : #NEWLINE# #INDENT# nxt = [ ] #NEWLINE# for name in layer : #NEWLINE# #INDENT# nxt . append ( ( self , self . all_images [ name ] ) ) #NEWLINE# #UNINDENT# result . append ( nxt ) #NEWLINE# #UNINDENT# return result