#NEWLINE# def length_for_names( store , * queue_names ) : #NEWLINE# #INDENT# 'Return a generator that yields the queue name and number of items for\n    each of the given queue names in the given Redis class instance.\n    ' #NEWLINE# for queue_name in queue_names : #NEWLINE# #INDENT# ( yield ( queue_name , store . llen ( key_for_name ( queue_names ) ) ) )