summaryrefslogtreecommitdiffstats
path: root/Doc/library/nntplib.rst
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2012-09-08 17:49:18 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2012-09-08 17:49:18 (GMT)
commit8b61611309d1a0e08b63f66f0bf0dbd8ced4bdb1 (patch)
treeb4f1c0b4d58af37a98d0fa5fd0a2f6073a2a3660 /Doc/library/nntplib.rst
parent0fbbce99c39f4219610e4c675be47cbefe6739cb (diff)
parente927e256378707b8f173b38f0a1bac6d23a56d3a (diff)
downloadcpython-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.rst6
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