Skip to content

Commit

Permalink
Fix another doc typo
Browse files Browse the repository at this point in the history
  • Loading branch information
LilSpazJoekp committed Jul 19, 2020
1 parent 9338cc8 commit a291bc9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion asyncpraw/models/reddit/submission.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,8 @@ async def comments(self) -> CommentForest:
comments = await submission.comments()
await comments.replace_more(limit=0)
async for comment in comments.list():
comment_list = await comments.list()
for comment in comment_list:
# do stuff with comment
Sort order and comment limit can be set with the ``comment_sort`` and
Expand Down

0 comments on commit a291bc9

Please sign in to comment.