def response(self, msgid, response):
        """Handle a response message."""
        self.requests[msgid].callback(response)
        del self.requests[msgid]
def response ( self , msgid , response ) : self . requests [ msgid ] . callback ( response ) del self . requests [ msgid ]
Handle a response message.