nntp/nntp.py
def list_extensions_gen(self):
        """Generator for the LIST EXTENSIONS command.
        """
        code, message = self.command("LIST EXTENSIONS")
        if code != 202:
            raise NNTPReplyError(code, message)

        for line in self.info_gen(code, message):
            yield line.strip()
def list_extensions_gen(self):
        """Generator for the LIST EXTENSIONS command.
        """
        code, message = self.command("LIST EXTENSIONS")
        if code != 202:
            raise NNTPReplyError(code, message)

        for line in self.info_gen(code, message):
            yield line.strip()
Generator for the LIST EXTENSIONS command.