(self)
return resp
Expect a response beginning with '2'.
Expect a response beginning with '2'.
Expect a response beginning with 2 .
def voidresp(self):
        """Expect a response beginning with '2'."""
        resp = self.getresp()
        if resp[:1] != '2':
            raise error_reply(resp)
        return resp
def voidresp ( self ) : resp = self . getresp ( ) if resp [ : 1 ] != '2' : raise error_reply ( resp ) return resp