CommentHelper¶
-
class
praw.models.listing.mixins.subreddit.CommentHelper(subreddit)¶ Provide a set of functions to interact with a subreddit’s comments.
-
__call__(**generator_kwargs)¶ Return a ListingGenerator for the Subreddit’s comments.
Additional keyword arguments are passed in the initialization of
ListingGenerator.This method should be used in a way similar to the example below:
for comment in reddit.subreddit('redditdev').comments(limit=25): print(comment.author)
-
__init__(subreddit)¶ Initialize a CommentHelper instance.
-
gilded(**generator_kwargs)¶ Deprecated.
Warning
(Deprecated) This method will be removed in PRAW 6 because it doesn’t actually restrict the results to gilded Comments. Use
subreddit.gildedinstead.Additional keyword arguments are passed in the initialization of
ListingGenerator.
-