From a291bc9cd946c6a4d83a0f7f8dc70d68aa8cf9b5 Mon Sep 17 00:00:00 2001 From: Joel Payne <15524072+LilSpazJoekp@users.noreply.github.com> Date: Sat, 18 Jul 2020 22:51:26 -0500 Subject: [PATCH] Fix another doc typo --- asyncpraw/models/reddit/submission.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/asyncpraw/models/reddit/submission.py b/asyncpraw/models/reddit/submission.py index 633b98c3a..ce6fcf203 100644 --- a/asyncpraw/models/reddit/submission.py +++ b/asyncpraw/models/reddit/submission.py @@ -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