def _recvbuf_pop(self):
<EOL>msg = self._recvbuf.pop(<NUM_LIT:0>)<EOL>if isinstance(msg, Exception):<EOL><INDENT>raise msg<EOL><DEDENT>return msg['<STR_LIT>'], msg['<STR_LIT>']<EOL>
Internal helper to pop a message off the receive buffer.  If
the message is an Exception, that exception will be raised;
otherwise, a tuple of command and payload will be returned.