#NEWLINE# def dictionary( ) : #NEWLINE# #INDENT# num_entries = 1000 #NEWLINE# for x in xrange ( 0 , num_entries ) : #NEWLINE# #INDENT# r . hset ( 'force_dictionary' , random_string ( 50 , x ) , random_string ( 50 , ( x + num_entries ) ) )