Skip to content

Commit

Permalink
docs: add body_html to doc strings..update AUTHORS.rst [praw-dev#1495]
Browse files Browse the repository at this point in the history
  • Loading branch information
nickatnight committed Jul 2, 2020
1 parent 6ba5c92 commit e1b22c8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions AUTHORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,5 @@ Source Contributors
- George Schizas `@gschizas <https://github.com/gschizas>`_
- Todd Roberts `@toddrob99 <https://github.com/toddrob99>`_
- MaybeNetwork `@MaybeNetwork <https://github.com/MaybeNetwork>`_
- Nick Kelly `@nickatnight <https://github.com/nickatnight>`_
<!-- - Add "Name <email (optional)> and github profile link" above this line. -->
3 changes: 2 additions & 1 deletion praw/models/reddit/comment.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ class Comment(InboxableMixin, UserContentMixin, FullnameMixin, RedditBase):
Attribute Description
======================= ===================================================
``author`` Provides an instance of :class:`.Redditor`.
``body`` The body of the comment.
``body`` The body of the comment, as Markdown.
``body_html`` The body of the comment, as HTML.
``created_utc`` Time the comment was created, represented in
`Unix Time`_.
``distinguished`` Whether or not the comment is distinguished.
Expand Down
6 changes: 4 additions & 2 deletions praw/models/reddit/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ class Message(InboxableMixin, ReplyableMixin, FullnameMixin, RedditBase):
Attribute Description
======================= ===================================================
``author`` Provides an instance of :class:`.Redditor`.
``body`` The body of the message.
``body`` The body of the message, as Markdown.
``body_html`` The body of the message, as HTML.
``created_utc`` Time the message was created, represented in
`Unix Time`_.
``dest`` Provides an instance of :class:`.Redditor`. The
Expand Down Expand Up @@ -113,7 +114,8 @@ class SubredditMessage(Message):
Attribute Description
======================= ===================================================
``author`` Provides an instance of :class:`.Redditor`.
``body`` The body of the message.
``body`` The body of the message, as Markdown.
``body_html`` The body of the message, as HTML.
``created_utc`` Time the message was created, represented in
`Unix Time`_.
``dest`` Provides an instance of :class:`.Redditor`. The
Expand Down

0 comments on commit e1b22c8

Please sign in to comment.