Skip to content

Commit

Permalink
Merge pull request #1113 from Pyprohly/comment-permalink-doc
Browse files Browse the repository at this point in the history
Document `context` attribute next to `permalink`.

Closes #1109.
  • Loading branch information
jarhill0 committed Jul 29, 2019
2 parents 610d28a + 245f994 commit 420f0f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion praw/models/reddit/comment.py
Expand Up @@ -40,7 +40,8 @@ class Comment(InboxableMixin, UserContentMixin, FullnameMixin, RedditBase):
``parent_id`` The ID of the parent comment. If it is a top-level
comment, this returns the submission ID instead
(prefixed with 't3').
``permalink`` A permalink for the comment.
``permalink`` A permalink for the comment. Comment objects from
the inbox have a ``context`` attribute instead.
``replies`` Provides an instance of :class:`.CommentForest`.
``score`` The number of upvotes for the comment.
``stickied`` Whether or not the comment is stickied.
Expand Down

0 comments on commit 420f0f2

Please sign in to comment.