mirror of
https://github.com/python/cpython.git
synced 2025-08-29 05:05:03 +00:00
fix comments for list command
This commit is contained in:
parent
1f97612e64
commit
be9f212f7e
1 changed files with 2 additions and 2 deletions
|
@ -170,12 +170,12 @@ class NNTP:
|
||||||
|
|
||||||
# Process a LIST command. Return:
|
# Process a LIST command. Return:
|
||||||
# - resp: server response if succesful
|
# - resp: server response if succesful
|
||||||
# - list: list of (group, first, last, flag) (strings)
|
# - list: list of (group, last, first, flag) (strings)
|
||||||
|
|
||||||
def list(self):
|
def list(self):
|
||||||
resp, list = self.longcmd('LIST')
|
resp, list = self.longcmd('LIST')
|
||||||
for i in range(len(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])
|
list[i] = string.split(list[i])
|
||||||
return resp, list
|
return resp, list
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue