diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2012-09-08 17:49:18 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2012-09-08 17:49:18 (GMT) |
commit | 8b61611309d1a0e08b63f66f0bf0dbd8ced4bdb1 (patch) | |
tree | b4f1c0b4d58af37a98d0fa5fd0a2f6073a2a3660 /Doc/library/nntplib.rst | |
parent | 0fbbce99c39f4219610e4c675be47cbefe6739cb (diff) | |
parent | e927e256378707b8f173b38f0a1bac6d23a56d3a (diff) | |
download | cpython-8b61611309d1a0e08b63f66f0bf0dbd8ced4bdb1.zip cpython-8b61611309d1a0e08b63f66f0bf0dbd8ced4bdb1.tar.gz cpython-8b61611309d1a0e08b63f66f0bf0dbd8ced4bdb1.tar.bz2 |
#15865: merge with 3.2.
Diffstat (limited to 'Doc/library/nntplib.rst')
-rw-r--r-- | Doc/library/nntplib.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/nntplib.rst b/Doc/library/nntplib.rst index 62da72c..87a50b0 100644 --- a/Doc/library/nntplib.rst +++ b/Doc/library/nntplib.rst @@ -487,10 +487,10 @@ The following are optional NNTP extensions defined in :rfc:`2980`. Some of them have been superseded by newer commands in :rfc:`3977`. -.. method:: NNTP.xhdr(header, string, *, file=None) +.. method:: NNTP.xhdr(hdr, str, *, file=None) - Send an ``XHDR`` command. The *header* argument is a header keyword, e.g. - ``'subject'``. The *string* argument should have the form ``'first-last'`` + Send an ``XHDR`` command. The *hdr* argument is a header keyword, e.g. + ``'subject'``. The *str* argument should have the form ``'first-last'`` where *first* and *last* are the first and last article numbers to search. Return a pair ``(response, list)``, where *list* is a list of pairs ``(id, text)``, where *id* is an article number (as a string) and *text* is the text of |