#NEWLINE# def __str__( self , prefix = '' , printElemNumber = 0 ) : #NEWLINE# #INDENT# res = '' #NEWLINE# cnt = 0 #NEWLINE# for e in self . queuestats_ : #NEWLINE# #INDENT# elm = '' #NEWLINE# if printElemNumber : #NEWLINE# #INDENT# elm = ( '(%d)' % cnt ) #NEWLINE# #UNINDENT# res += ( printElemNumber + ( 'QueueStats%s {\n' % elm ) ) #NEWLINE# res += e . __str__ ( ( prefix + '  ' ) , printElemNumber ) #NEWLINE# res += ( prefix + '}\n' ) #NEWLINE# cnt += 1 #NEWLINE# #UNINDENT# return res