Lines Matching defs:article
20 To post an article from a file:
21 >>> f = open(filename, 'rb') # file containing article, including header
26 Note that all arguments and return values representing article numbers
47 # - NNTP.article(), NNTP.head() and NNTP.body() return a (response, ArticleInfo)
133 # Response numbers that are followed by additional text (e.g. article)
689 - first: first article number
690 - last: last article number
736 - message_spec: article number or message id (if not specified,
737 the current article is selected)
740 - art_num: the article number
764 - message_spec: article number or message id
768 - ArticleInfo: (article number, message id, list of header lines)
778 - message_spec: article number or message id
782 - ArticleInfo: (article number, message id, list of body lines)
790 def article(self, message_spec=None, *, file=None):
792 - message_spec: article number or message id
793 - file: filename string or file object to store the article in
796 - ArticleInfo: (article number, message id, list of article lines)
813 - str: an article nr, a message id, or a range nr1-nr2
844 - either a message id, indicating the article to fetch
846 - or a (start, end) tuple, indicating a range of article numbers;
849 - or None, indicating the current article number must be used
907 - data: bytes object, iterable or file containing the article
914 - message_id: message-id of the article
915 - data: file containing the article
918 Note that if the server refuses the article an exception is raised."""