class praw.models.listing.mixins.subreddit.CommentHelper(subreddit)

Provide a set of functions to interact with a subreddit’s comments.


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):

Initialize a CommentHelper instance.

classmethod parse(data, reddit)

Return an instance of cls from data.

  • data – The structured data.
  • reddit – An instance of Reddit.