diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2012-09-08 17:46:01 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2012-09-08 17:46:01 (GMT) |
commit | e927e256378707b8f173b38f0a1bac6d23a56d3a (patch) | |
tree | a4db305db5b3b2bf6ee9a0c0e23df45e1919652b /Doc/library/nntplib.rst | |
parent | b522828d2a6bdc4438441eda837a696851ba4263 (diff) | |
download | cpython-e927e256378707b8f173b38f0a1bac6d23a56d3a.zip cpython-e927e256378707b8f173b38f0a1bac6d23a56d3a.tar.gz cpython-e927e256378707b8f173b38f0a1bac6d23a56d3a.tar.bz2 |
#15865: add "*" in the signature to document keyword-only args in the docs. Patch by Chris Jerdonek.
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 ef507e1..247efb7 100644 --- a/Doc/library/nntplib.rst +++ b/Doc/library/nntplib.rst @@ -474,10 +474,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 |