#NEWLINE# def _mk_cmd( self , cmd_code , **kwargs ) : #NEWLINE# #INDENT# '\n        Enqueue a command to be sent back to Polyglot.\n\n        :param cmd_code: Command code\n        :param args: arguments to send with command\n        ' #NEWLINE# cmd = json . dumps ( { #NEWLINE# #INDENT# cmd_code : kwargs , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . _outq . put ( cmd , True , 5 )