#NEWLINE# def enumerate_children( self ) : #NEWLINE# #INDENT# threshold = self . env . settings . get ( 'debug_max_collection_elements_to_show' , 0 ) #NEWLINE# for ( i , ( key , value ) ) in enumerate ( self . enumerate_elements ( ) ) : #NEWLINE# #INDENT# if ( ( i == threshold ) and ( threshold > 0 ) ) : #NEWLINE# #INDENT# num_delayed = ( ( delayed . number_of_elements - i ) - self . start ) #NEWLINE# delayed = self . shift ( i ) #NEWLINE# quantifier = ( 'element' if ( num_delayed == 1 ) else 'elements' ) #NEWLINE# delayed . _description_loaded = True #NEWLINE# delayed . _description = ( ( ( ( '<' + str ( num_delayed ) ) + ' more ' ) + quantifier ) + '>' ) #NEWLINE# ( yield delayed ) #NEWLINE# return #NEWLINE# #UNINDENT# ( yield ( key , value ) )