Home | History | Annotate | Download | only in python2.7

Lines Matching defs:article

17 To post an article from a file:
18 >>> f = open(filename, 'r') # file containing article, including header
23 Note that all arguments and return values representing article numbers
83 # Response numbers that are followed by additional text (e.g. article)
341 - first: first article number (string)
342 - last: last article number (string)
389 - id: article number or message id
392 - nr: the article number
406 """Internal: process a HEAD, BODY or ARTICLE command."""
413 - id: article number or message id
416 - nr: article number
418 - list: the lines of the article's header"""
424 - id: article number or message id
425 - file: Filename string or file object to store the article in
428 - nr: article number
430 - list: the lines of the article's body or an empty list
435 def article(self, id):
436 """Process an ARTICLE command. Argument:
437 - id: article number or message id
440 - nr: article number
442 - list: the lines of the article"""
444 return self.artcmd('ARTICLE ' + id)
455 - str: an article nr, a message id, or a range nr1-nr2
513 - id: Message id of article
516 path: directory path to article"""
551 - f: file containing the article
573 - id: message-id of the article
574 - f: file containing the article
577 Note that if the server refuses the article an exception is raised."""