summaryrefslogtreecommitdiffstats
path: root/Lib/nntplib.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-06-30 14:50:26 (GMT)
committerGuido van Rossum <guido@python.org>1998-06-30 14:50:26 (GMT)
commit0f91183b1a8e0d3c30db922b1d30a323daf10c90 (patch)
tree03dcf865b5709ebf97d608887e77e4216bf69fdc /Lib/nntplib.py
parent52a79e8e1c448435f8dbd0fac02d74d61162cc08 (diff)
downloadcpython-0f91183b1a8e0d3c30db922b1d30a323daf10c90.zip
cpython-0f91183b1a8e0d3c30db922b1d30a323daf10c90.tar.gz
cpython-0f91183b1a8e0d3c30db922b1d30a323daf10c90.tar.bz2
Fix the comments describing the return values of the head(), body(),
article() commands.
Diffstat (limited to 'Lib/nntplib.py')
-rw-r--r--Lib/nntplib.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/nntplib.py b/Lib/nntplib.py
index 0ee3ab0..865041f 100644
--- a/Lib/nntplib.py
+++ b/Lib/nntplib.py
@@ -277,6 +277,8 @@ class NNTP:
# - id: article number or message id
# Returns:
# - resp: server response if succesful
+ # - nr: article number
+ # - id: message id
# - list: the lines of the article's header
def head(self, id):
@@ -286,6 +288,8 @@ class NNTP:
# - id: article number or message id
# Returns:
# - resp: server response if succesful
+ # - nr: article number
+ # - id: message id
# - list: the lines of the article's body
def body(self, id):
@@ -295,6 +299,8 @@ class NNTP:
# - id: article number or message id
# Returns:
# - resp: server response if succesful
+ # - nr: article number
+ # - id: message id
# - list: the lines of the article
def article(self, id):