summaryrefslogtreecommitdiffstats
path: root/Lib/nntplib.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-01-10 10:35:55 (GMT)
committerGuido van Rossum <guido@python.org>1995-01-10 10:35:55 (GMT)
commitbe9f212f7e70c650e3717f2bbe55bdc22b9c8e9c (patch)
tree0308d047155520752893e3c286644000590efc88 /Lib/nntplib.py
parent1f97612e643d80e704d75ef108bea2f4a54c79e1 (diff)
downloadcpython-be9f212f7e70c650e3717f2bbe55bdc22b9c8e9c.zip
cpython-be9f212f7e70c650e3717f2bbe55bdc22b9c8e9c.tar.gz
cpython-be9f212f7e70c650e3717f2bbe55bdc22b9c8e9c.tar.bz2
fix comments for list command
Diffstat (limited to 'Lib/nntplib.py')
-rw-r--r--Lib/nntplib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/nntplib.py b/Lib/nntplib.py
index fb08b0c..fafef57 100644
--- a/Lib/nntplib.py
+++ b/Lib/nntplib.py
@@ -170,12 +170,12 @@ class NNTP:
# Process a LIST command. Return:
# - resp: server response if succesful
- # - list: list of (group, first, last, flag) (strings)
+ # - list: list of (group, last, first, flag) (strings)
def list(self):
resp, list = self.longcmd('LIST')
for i in range(len(list)):
- # Parse lines into "group first last flag"
+ # Parse lines into "group last first flag"
list[i] = string.split(list[i])
return resp, list