mirror of
https://github.com/python/cpython.git
synced 2025-08-28 04:35:02 +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:
|
||||
# - 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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue