#NEWLINE# def pack( self , message_type , client_id , client_storage , args , kwargs ) : #NEWLINE# #INDENT# '\n        Packs a message\n        ' #NEWLINE# return pickle . dumps ( ( client_storage , client_id , client_storage , args , kwargs ) , protocol = 2 )