Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0f91183

Browse files
committed
Fix the comments describing the return values of the head(), body(),
article() commands.
1 parent 52a79e8 commit 0f91183

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Lib/nntplib.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,8 @@ def artcmd(self, line):
277277
# - id: article number or message id
278278
# Returns:
279279
# - resp: server response if succesful
280+
# - nr: article number
281+
# - id: message id
280282
# - list: the lines of the article's header
281283

282284
def head(self, id):
@@ -286,6 +288,8 @@ def head(self, id):
286288
# - id: article number or message id
287289
# Returns:
288290
# - resp: server response if succesful
291+
# - nr: article number
292+
# - id: message id
289293
# - list: the lines of the article's body
290294

291295
def body(self, id):
@@ -295,6 +299,8 @@ def body(self, id):
295299
# - id: article number or message id
296300
# Returns:
297301
# - resp: server response if succesful
302+
# - nr: article number
303+
# - id: message id
298304
# - list: the lines of the article
299305

300306
def article(self, id):

0 commit comments

Comments
 (0)