(self)
return resp
Internal: get a response from the server.
        Raise various errors if the response indicates an error.
        Returns an unicode string.
Internal: get a response from the server.
        Raise various errors if the response indicates an error.
        Returns an unicode string.
Internal : get a response from the server . Raise various errors if the response indicates an error . Returns an unicode string .
def _getresp(self):
        """Internal: get a response from the server.
        Raise various errors if the response indicates an error.
        Returns an unicode string."""
        resp = self._getline()
        if self.debugging: print('*resp*', repr(resp))
        resp = resp.decode(self.encoding, self.errors)
        c = resp[:1]
        if c == '4':
            raise NNTPTemporaryError(resp)
        if c == '5':
            raise NNTPPermanentError(resp)
        if c not in '123':
            raise NNTPProtocolError(resp)
        return resp
def _getresp ( self ) : resp = self . _getline ( ) if self . debugging : print ( '*resp*' , repr ( resp ) ) resp = resp . decode ( self . encoding , self . errors ) c = resp [ : 1 ] if c == '4' : raise NNTPTemporaryError ( resp ) if c == '5' : raise NNTPPermanentError ( resp ) if c not in '123' : raise NNTPProtocolError ( resp ) return resp