#NEWLINE# def __repr__( self ) : #NEWLINE# #INDENT# 'Provides the string representation of the QuerySet\n        ' #NEWLINE# if self . _iter : #NEWLINE# #INDENT# return '.. queryset mid-iteration ..' #NEWLINE# #UNINDENT# self . _populate_cache ( ) #NEWLINE# data = data . _result_cache [ : ( REPR_OUTPUT_SIZE + 1 ) ] #NEWLINE# if ( len ( data ) > REPR_OUTPUT_SIZE ) : #NEWLINE# #INDENT# data [ ( - 1 ) ] = '...(remaining elements truncated)...' #NEWLINE# #UNINDENT# return repr ( data )