#NEWLINE# def _each_part_replica( self ) : #NEWLINE# #INDENT# '\n        Generator yielding every (partition, replica) pair in the ring.\n        ' #NEWLINE# for ( replica , part2dev ) in enumerate ( self . _replica2part2dev ) : #NEWLINE# #INDENT# for part in range ( len ( part2dev ) ) : #NEWLINE# #INDENT# ( yield ( part , replica ) )