mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
- Bug #1015140: disambiguated the term "article id" in nntplib docs and
docstrings to either "article number" or "message id".
This commit is contained in:
parent
0e03272350
commit
5dbda75a02
3 changed files with 11 additions and 6 deletions
|
@ -281,7 +281,7 @@ class NNTP:
|
|||
- time: string 'hhmmss' indicating the time
|
||||
Return:
|
||||
- resp: server response if successful
|
||||
- list: list of article ids"""
|
||||
- list: list of message ids"""
|
||||
|
||||
cmd = 'NEWNEWS ' + group + ' ' + date + ' ' + time
|
||||
return self.longcmd(cmd, file)
|
||||
|
@ -391,7 +391,7 @@ class NNTP:
|
|||
Returns:
|
||||
- resp: server response if successful
|
||||
- nr: the article number
|
||||
- id: the article id"""
|
||||
- id: the message id"""
|
||||
|
||||
return self.statcmd('STAT ' + id)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue