#NEWLINE# def mset( self , mapping , preserve = False ) : #NEWLINE# #INDENT# '\n        Set multiple keys to multiple values\n        ' #NEWLINE# if preserve : #NEWLINE# #INDENT# command = 'MSETNX' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# command = 'MSET' #NEWLINE# #UNINDENT# self . _send ( command , * list ( itertools . chain ( * mapping . iteritems ( ) ) ) ) #NEWLINE# return self . getResponse ( )