Name

next

Synopsis

                        n.next( )

Returns a tuple of three strings ( response,number,id ), where number is the article number in the current group and id is the article ID, enclosed in angle brackets, for the next article in the current group. The current group is set by calling n .group. Each time you call n .next, you receive information about another article (i.e., n implicitly maintains a pointer to a current article within the group and advances the pointer on each call to n .next). When there is no next article (i.e., the current article is the last one in the current group), n .next raises NNTPTemporaryError.

Get Python in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.