def read_method(self):
self._next_method()<EOL>m = self._quick_get()<EOL>if isinstance(m, Exception):<EOL><INDENT>raise m<EOL><DEDENT>if isinstance(m, tuple) and isinstance(m[<NUM_LIT:1>], AMQPError):<EOL><INDENT>raise m[<NUM_LIT:1>]<EOL><DEDENT>return m<EOL>
Read a method from the peer.