#NEWLINE# def purchase_item( conn , buyerid , itemid , sellerid ) : #NEWLINE# #INDENT# buyer = ( 'users:%s' % buyerid ) #NEWLINE# seller = ( 'users:%s' % sellerid ) #NEWLINE# item = ( '%s.%s' % ( itemid , sellerid ) ) #NEWLINE# inventory = ( 'inventory:%s' % buyerid ) #NEWLINE# return purchase_item_lua ( conn , [ 'market:' , buyer , seller , inventory ] , [ item , itemid ] )