#NEWLINE# def peek( self , n = None ) : #NEWLINE# #INDENT# self . _fillcache ( n ) #NEWLINE# if ( n is None ) : #NEWLINE# #INDENT# result = self . _cache [ 0 ] #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# result = [ self . _cache [ i ] for i in range ( n ) ] #NEWLINE# #UNINDENT# return result