Internal: parse the response line of a STAT, NEXT, LAST, ARTICLE, HEAD or BODY command.
(self, resp)
| 717 | return self._longcmdstring('HELP', file) |
| 718 | |
| 719 | def _statparse(self, resp): |
| 720 | """Internal: parse the response line of a STAT, NEXT, LAST, |
| 721 | ARTICLE, HEAD or BODY command.""" |
| 722 | if not resp.startswith('22'): |
| 723 | raise NNTPReplyError(resp) |
| 724 | words = resp.split() |
| 725 | art_num = int(words[1]) |
| 726 | message_id = words[2] |
| 727 | return resp, art_num, message_id |
| 728 | |
| 729 | def _statcmd(self, line): |
| 730 | """Internal: process a STAT, NEXT or LAST command.""" |
no test coverage detected